Ignore:
Timestamp:
02/28/07 16:01:10 (17 years ago)
Author:
bittner
Message:

merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Material.cpp

    r2148 r2173  
    3636 
    3737#define MAX_COLOR_VALUE 1.0f 
     38  int band = (int)(value*4.0f); 
     39  value = value - band; 
    3840   
    39   switch ((int)(value*4.0f)) { 
     41  switch (band) { 
    4042  case 0: 
    4143        color.r = MAX_COLOR_VALUE; 
Note: See TracChangeset for help on using the changeset viewer.