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

Comparing libgender/view.C (file contents):
Revision 1.85 by root, Mon Feb 7 08:16:31 2005 UTC vs.
Revision 1.86 by root, Mon Feb 7 08:51:18 2005 UTC

331 drawn.clear (); 331 drawn.clear ();
332} 332}
333 333
334void light::enable (view &ctx) 334void light::enable (view &ctx)
335{ 335{
336 lightpos->set (p - ctx.orig); 336 lightpos->set (p + (orig - ctx.orig));
337} 337}
338 338
339void light::disable (view &ctx) 339void light::disable (view &ctx)
340{ 340{
341} 341}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines