Changeset 9948 in orxonox.OLD for branches/playability/src/world_entities/test_entity.cc
- Timestamp:
- Nov 22, 2006, 5:48:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/test_entity.cc
r9928 r9948 86 86 } 87 87 88 void TestEntity::draw() const 89 { 90 // if(!mediaLoaded) 91 // false; 88 92 93 glPushAttrib(GL_ENABLE_BIT); 94 glDisable(GL_LIGHTING); 95 // glDisable(GL_BLEND); 96 // 97 // glEnable(GL_TEXTURE_2D); 98 // glBindTexture(GL_TEXTURE_2D, media_container->getFrameTexture(counter)); 99 100 glPushMatrix(); 101 /* glTranslatef (this->getAbsCoor ().x, 102 this->getAbsCoor ().y, 103 this->getAbsCoor ().z); 104 glRotatef(axis, 0.0f, 1.0f, 0.0f);*/ 105 //PRINTF(0)("axis: %f\n", axis); 106 107 glColor3f(1.0, 0, 0); 108 109 glBegin(GL_QUADS); 110 // glTexCoord2f(1.0f, 1.0f); 111 glVertex3f( 0.0f, 0.0f, 0.0f ); 112 // glTexCoord2f(0.0f, 1.0f); 113 glVertex3f( 1000.0f, 0.0f, 0.0f ); 114 // glTexCoord2f(0.0f, 0.0f); 115 glVertex3f( 1000.0f, 0.0f, 200.0f ); 116 // glTexCoord2f(1.0f, 0.0f); 117 glVertex3f( 0.0f, 0.0f, 200.0f); 118 glEnd(); 119 120 glPopMatrix(); 121 glPopAttrib(); 122 } 89 123 90 124 /** … … 98 132 99 133 100 /**101 *102 */103 void TestEntity::draw() const104 {105 106 }107 134 108 135
Note: See TracChangeset
for help on using the changeset viewer.