ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/view.C
(Generate patch)

Comparing libgender/view.C (file contents):
Revision 1.92 by root, Thu Aug 11 19:28:45 2005 UTC vs.
Revision 1.93 by root, Wed Jan 25 22:48:02 2006 UTC

369void linear_light::fsh () 369void linear_light::fsh ()
370{ 370{
371 using namespace shader::compile; 371 using namespace shader::compile;
372 372
373 sh_lightvec = lightvec; 373 sh_lightvec = lightvec;
374 sh_colour = float3 (c.r / 255.F, c.g / 255.F, c.b / 255.F) * (min (camdist * (intensity * 100.F) + 0.9F, 1.F)); 374 sh_colour = shader::compile::vec3 (c.r / 255.F, c.g / 255.F, c.b / 255.F) * (min (camdist * (intensity * 100.F) + 0.9F, 1.F));
375} 375}
376 376
377 377

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines