Changeset 1893 for trunk/tutorial


Ignore:
Timestamp:
Sep 9, 2012, 4:55:26 PM (8 years ago)
Author:
sam
Message:

math: refactor real number constant declarations so that they are only
computed on demand with static initialisation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tutorial/11_fractal.cpp

    r1677 r1893  
    284284            /* If settings didn't change, set transformation from previous
    285285             * frame to identity. */
    286             m_deltashift[prev_frame] = real::R_0;
    287             m_deltascale[prev_frame] = real::R_1;
     286            m_deltashift[prev_frame] = real::R_0();
     287            m_deltascale[prev_frame] = real::R_1();
    288288        }
    289289
Note: See TracChangeset for help on using the changeset viewer.