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

Comparing libgender/entity.h (file contents):
Revision 1.30 by root, Tue Nov 2 23:26:46 2004 UTC vs.
Revision 1.31 by root, Thu Nov 4 04:46:58 2004 UTC

77 void set (); 77 void set ();
78}; 78};
79 79
80struct geometry_sphere : geometry 80struct geometry_sphere : geometry
81{ 81{
82 material *m;
82 GLfloat radius; 83 GLfloat radius;
83 84
84 void update (); 85 void update ();
85 void draw (view &ctx); 86 void draw (view &ctx);
86 geometry_sphere (GLfloat radius) : radius(radius) { update (); }; 87 geometry_sphere (material *m, GLfloat radius) : m(m), radius(radius) { update (); };
87}; 88};
88 89
89///////////////////////////////////////////////////////////////////////////// 90/////////////////////////////////////////////////////////////////////////////
90 91
91struct geometry_filter : geometry 92struct geometry_filter : geometry

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines