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

Comparing libgender/util.h (file contents):
Revision 1.43 by root, Sun Oct 17 05:29:19 2004 UTC vs.
Revision 1.44 by root, Sun Oct 17 14:03:52 2004 UTC

184 184
185extern struct timer 185extern struct timer
186{ 186{
187 static double now; 187 static double now;
188 static double diff; 188 static double diff;
189 static double fps;
189 190
190 static void frame (); 191 static void frame ();
191 timer (); 192 timer ();
192} timer; 193} timer;
193 194
342 { 343 {
343 return buffer; 344 return buffer;
344 } 345 }
345 }; 346 };
346 347
347 const GLenum bbox_mode = GL_QUADS;
348 const GLsizei bbox_count = 6*4;
349 void gen_bbox (vertex_buffer_object &vb, const sector &a, const sector &b); 348 void draw_bbox (vertex_buffer_object &vb, const sector &a, const sector &b);
350} 349}
351 350
352GLuint SDL_GL_LoadTexture (SDL_Surface *surface, GLfloat *texcoord); 351GLuint SDL_GL_LoadTexture (SDL_Surface *surface, GLfloat *texcoord);
353 352
354#endif 353#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines