RGBColor function ( long arg0 , long arg1 ) { if ( arg0 < 0.33f * arg1 ) return new RGBColor ( 0 , 0 , arg0 / ( 0.33f * arg1 ) ) ; if ( arg0 < 0.66f * arg1 ) return new RGBColor ( 0 , arg0 / ( 0.66f * arg1 ) , 0 ) ; if ( arg0 < arg1 ) return new RGBColor ( ( float ) arg0 / arg1 , 0 , 0 ) ; return new RGBColor ( 1 , 0 , 0 ) ; }
maps the given value to a rgbcolor , according to a blue < green < red color scale . concode_field_sep World scene concode_field_sep RGBColor traceRay