ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.77 by root, Fri May 12 00:16:34 2006 UTC vs.
Revision 1.78 by root, Fri May 12 01:47:03 2006 UTC

1577void glEnd () 1577void glEnd ()
1578 1578
1579void glColor (float r, float g, float b, float a = 1.0) 1579void glColor (float r, float g, float b, float a = 1.0)
1580 PROTOTYPE: @ 1580 PROTOTYPE: @
1581 CODE: 1581 CODE:
1582 // 255.999 is close enough to correctness (256 and clamp)
1582 glColor4ub (r * 255.999, g * 255.999, b * 255.999, a * 255.999); 1583 glColor4ub (r * 255.999, g * 255.999, b * 255.999, a * 255.999);
1583 1584
1584void glVertex (float x, float y, float z = 0.) 1585void glVertex (float x, float y, float z = 0.)
1585 CODE: 1586 CODE:
1586 glVertex3f (x, y, z); 1587 glVertex3f (x, y, z);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines