Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Core::Array::Trait::UpoParameterizedColorPtr::DoIt ( Real64 result,
Real64 RGB 
) [inline]

Definition at line 28 of file UpoParameterizedColor.h.

References a, b, c, d, e, f, and g.

00029     {
00030         Real64 teller = a * RGB[0] + b * RGB[1] + c * RGB[2];
00031         Real64 deler = d * RGB[0] + e * RGB[1] + f * RGB[2] + g;
00032         if(fabs(deler) < 0.001) {
00033             deler = 1.0;
00034         }
00035         result[0] = teller / deler;
00036     }


Generated on Thu Jan 13 09:18:41 2011 for ImpalaSrc by  doxygen 1.5.1