Changeset 608 for trunk/VUT/GtpVisibilityPreprocessor/src/Material.cpp
- Timestamp:
- 02/08/06 20:32:42 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/Material.cpp
r162 r608 10 10 11 11 Material m; 12 m.mDiffuseColor = 13 RgbColor(a + Random(b), 14 a + Random(b), 15 a + Random(b)); 12 m.mDiffuseColor = RandomColor(a, b); 16 13 17 14 return m; 18 15 } 19 16 17 18 RgbColor 19 RandomColor(const float a, const float b) 20 { 21 return RgbColor(a + Random(b), 22 a + Random(b), 23 a + Random(b)); 24 }
Note: See TracChangeset
for help on using the changeset viewer.