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

Comparing libgender/entity.h (file contents):
Revision 1.20 by root, Fri Oct 8 16:52:49 2004 UTC vs.
Revision 1.21 by root, Sun Oct 10 00:22:49 2004 UTC

73typedef geometry_opengl2d<GL_QUAD_STRIP> geometry_quad_strip; 73typedef geometry_opengl2d<GL_QUAD_STRIP> geometry_quad_strip;
74typedef geometry_opengl2d<GL_POLYGON> geometry_polygon; 74typedef geometry_opengl2d<GL_POLYGON> geometry_polygon;
75 75
76struct geometry_nurbs : geometry, vector<vertex2d> { 76struct geometry_nurbs : geometry, vector<vertex2d> {
77 GLUnurbsObj *nurb; 77 GLUnurbsObj *nurb;
78 GLUtesselator *tess;
78 GLfloat ctlpoints[4][4][3]; 79 GLfloat ctlpoints[4][4][3];
79 80
80 geometry_nurbs() : nurb(0) { } 81 geometry_nurbs() : tess(0), nurb(0) { }
81 virtual void draw (view &ctx); 82 virtual void draw (view &ctx);
82 void set (); 83 void set ();
83}; 84};
84 85
85struct geometry_filter : geometry { 86struct geometry_filter : geometry {
145 void display (view &ctx); 146 void display (view &ctx);
146 147
147 entity (geometry *g = 0); 148 entity (geometry *g = 0);
148 ~entity (); 149 ~entity ();
149}; 150};
150
151#endif 151#endif
152 152
153 153
154 154

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines