/[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.60 by tjl, Mon Sep 23 08:37:04 2002 UTC revision 1.61 by mudyc, Mon Sep 23 18:08:46 2002 UTC
# Line 785  rs = [ Line 785  rs = [
785           */           */
786          float texf = 0.5;          float texf = 0.5;
787    
788          glActiveTexture(GL_TEXTURE1);          glActiveTextureARB(GL_TEXTURE1_ARB);
789          glPushMatrix();          glPushMatrix();
790          AffineCoords cs2 = coords2;          AffineCoords cs2 = coords2;
791          if (mode) {          if (mode) {
# Line 799  rs = [ Line 799  rs = [
799          glTexGenfv(GL_S, GL_EYE_PLANE, svec);          glTexGenfv(GL_S, GL_EYE_PLANE, svec);
800          glTexGenfv(GL_T, GL_EYE_PLANE, tvec);          glTexGenfv(GL_T, GL_EYE_PLANE, tvec);
801          glPopMatrix();          glPopMatrix();
802          glActiveTexture(GL_TEXTURE0);          glActiveTextureARB(GL_TEXTURE0_ARB);
803    
804          for (unsigned i = 0; i < sizeof(sides)/sizeof(sides[0]); i++) {          for (unsigned i = 0; i < sizeof(sides)/sizeof(sides[0]); i++) {
805              ZPt tex0 = cs2inv.transform(coords1.transform(lerp(texf, sides[i][3], sides[i][0])));              ZPt tex0 = cs2inv.transform(coords1.transform(lerp(texf, sides[i][3], sides[i][0])));

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61

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