Changeset 2173 for GTP/trunk/Lib/Vis/Preprocessing/src/Material.cpp
- Timestamp:
- 02/28/07 16:01:10 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Material.cpp
r2148 r2173 36 36 37 37 #define MAX_COLOR_VALUE 1.0f 38 int band = (int)(value*4.0f); 39 value = value - band; 38 40 39 switch ( (int)(value*4.0f)) {41 switch (band) { 40 42 case 0: 41 43 color.r = MAX_COLOR_VALUE;
Note: See TracChangeset
for help on using the changeset viewer.