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 }
|