Ignore:
Timestamp:
02/08/06 20:32:42 (18 years ago)
Author:
bittner
Message:

slider support for viewcells

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/Material.cpp

    r162 r608  
    1010 
    1111  Material m; 
    12   m.mDiffuseColor = 
    13     RgbColor(a + Random(b), 
    14              a + Random(b), 
    15              a + Random(b)); 
     12  m.mDiffuseColor = RandomColor(a, b); 
    1613 
    1714  return m; 
    1815} 
    1916 
     17 
     18RgbColor 
     19RandomColor(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.