/[gzz]/gzz/gfx/librenderables/renderables.py
ViewVC logotype

Diff of /gzz/gfx/librenderables/renderables.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.164 by tjl, Fri Dec 13 12:16:06 2002 UTC revision 1.165 by tjl, Sat Dec 14 08:11:35 2002 UTC
# Line 318  rs = [ Line 318  rs = [
318    
319  {  {
320      "Type": "1",      "Type": "1",
321      "Name" : "TextureMatrix",      "Name" : "SetMatrix",
322        "Data" : "GLenum matrix;",
323        "Params" : "GLToken matrix",
324        "ParamCode" : """
325            this->matrix = matrix;
326        """,
327      "RenderCode" : """      "RenderCode" : """
328              DBG(dbg) << "Apply TextureMatrix\\n";              DBG(dbg) << "Apply TextureMatrix\\n";
329              glPushAttrib(GL_TRANSFORM_BIT);              glPushAttrib(GL_TRANSFORM_BIT);
330              glMatrixMode(GL_TEXTURE);              glMatrixMode(matrix);
331              glLoadIdentity();              glLoadIdentity();
332              coords1.performGL();              coords1.performGL();
333              glPopAttrib();              glPopAttrib();

Legend:
Removed from v.1.164  
changed lines
  Added in v.1.165

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26