source:
trunk/VUT/GtpVisibilityPreprocessor/src/Material.cpp
@
162
Revision 162, 249 bytes checked in by bittner, 19 years ago (diff) |
---|
Line | |
---|---|
1 | #include "common.h" |
2 | #include "Material.h" |
3 | |
4 | |
5 | Material |
6 | RandomMaterial() |
7 | { |
8 | float a = 0.1f; |
9 | float b = 0.9f; |
10 | |
11 | Material m; |
12 | m.mDiffuseColor = |
13 | RgbColor(a + Random(b), |
14 | a + Random(b), |
15 | a + Random(b)); |
16 | |
17 | return m; |
18 | } |
19 |
Note: See TracBrowser
for help on using the repository browser.