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

Comparing libgender/view.C (file contents):
Revision 1.69 by root, Wed Nov 3 03:35:13 2004 UTC vs.
Revision 1.70 by root, Thu Nov 4 03:58:32 2004 UTC

298shader::temp_3f linear_light::operator ()() 298shader::temp_3f linear_light::operator ()()
299{ 299{
300 using namespace shader::compile; 300 using namespace shader::compile;
301 301
302 temp_3f res; 302 temp_3f res;
303 res = float3 (c.r / 255.F, c.g / 255.F, c.b / 255.F) * (camdist + intensity); 303 res = float3 (c.r / 255.F, c.g / 255.F, c.b / 255.F) * intensity * camdist;
304 304
305 return res; 305 return res;
306} 306}
307 307
308 308

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines