Changeset 1513 for trunk/test/tutorial/03_fractal.cpp
- Timestamp:
- Jun 23, 2012, 12:46:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/tutorial/03_fractal.cpp
r1512 r1513 14 14 15 15 #include <cstring> 16 #include <cmath>17 16 18 17 #include "core.h" … … 117 116 double f = (double)i / PALETTE_STEP; 118 117 119 double r = 0.5 * sin(f * 0.27 + 2.0) + 0.5;120 double g = 0.5 * sin(f * 0.17 - 1.8) + 0.5;121 double b = 0.5 * sin(f * 0.21 - 2.6) + 0.5;118 double r = 0.5 * lol::sin(f * 0.27 + 2.0) + 0.5; 119 double g = 0.5 * lol::sin(f * 0.17 - 1.8) + 0.5; 120 double b = 0.5 * lol::sin(f * 0.21 - 2.6) + 0.5; 122 121 123 122 if (f < 7.0)
Note: See TracChangeset
for help on using the changeset viewer.