source: branches/VUT/0.2/GtpVisibilityPreprocessor/src/Material.cpp @ 162

Revision 162, 249 bytes checked in by bittner, 19 years ago (diff)

functional raycasting version

Line 
1#include "common.h"
2#include "Material.h"
3
4
5Material
6RandomMaterial()
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.