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

Comparing libgender/util.h (file contents):
Revision 1.42 by root, Sun Oct 17 05:24:22 2004 UTC vs.
Revision 1.43 by root, Sun Oct 17 05:29:19 2004 UTC

264 vertex_t2f_n3f_v3f (point p, vec3 n, tex2 t = tex2()) : p(p), n(n), t(t) { }; 264 vertex_t2f_n3f_v3f (point p, vec3 n, tex2 t = tex2()) : p(p), n(n), t(t) { };
265 265
266 GLenum gl_format () const { return GL_T2F_N3F_V3F; } 266 GLenum gl_format () const { return GL_T2F_N3F_V3F; }
267 }; 267 };
268 268
269 // STRICTLY represents a 4x4 matrix with lower row constant (0,0,0,1)!
270 struct matrix 269 struct matrix
271 { 270 {
272 GLfloat data[4][4]; 271 GLfloat data[4][4];
273 272
274 const GLfloat operator ()(int i, int j) const { return data[j][i]; }; 273 const GLfloat operator ()(int i, int j) const { return data[j][i]; };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines