Changeset 1960 for GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
- Timestamp:
- 01/10/07 02:10:23 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
r1944 r1960 251 251 252 252 void 253 GlRenderer::SetupFalseColor(const int id)253 GlRenderer::SetupFalseColor(const unsigned int id) 254 254 { 255 255 // swap bits of the color … … 258 258 259 259 260 int GlRenderer::GetId(int r, int g, int b) const 260 unsigned int GlRenderer::GetId(const unsigned char r, 261 const unsigned char g, 262 const unsigned char b) const 261 263 { 262 264 return r + (g << 8) + (b << 16); 263 265 } 266 264 267 265 268 void … … 269 272 glColor3fv(&(m->mDiffuseColor.r)); 270 273 } 274 271 275 272 276 void
Note: See TracChangeset
for help on using the changeset viewer.