Changeset 10366 in orxonox.OLD for branches/playability.merge/src/world_entities/test_entity.cc
- Timestamp:
- Jan 25, 2007, 12:48:13 PM (18 years ago)
- Location:
- branches/playability.merge
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability.merge
- Property svn:ignore
-
old new 10 10 autom4te.cache 11 11 aclocal.m4 12 tags 13 test.bmp 14 config.sub 15 config.guess 16 OrxonoxPlayability.kdevses 17 OrxonoxPlayability.kdevelop.pcs
-
- Property svn:ignore
-
branches/playability.merge/src/world_entities/test_entity.cc
r10114 r10366 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 glVertex3f( 0.0f, -100.0f, 0.0f); 111 // glTexCoord2f(1.0f, 1.0f); 112 glVertex3f( 0.0f, -100.0f , 2000.0f); 113 // glTexCoord2f(0.0f, 1.0f); 114 glVertex3f( 10000.0f, -100.0f , 2000.0f ); 115 // glTexCoord2f(0.0f, 0.0f); 116 glVertex3f( 10000.0f, -100.0f, 0.0f ); 117 // glTexCoord2f(1.0f, 0.0f); 118 119 glEnd(); 120 121 glPopMatrix(); 122 glPopAttrib(); 123 } 89 124 90 125 /** … … 98 133 99 134 100 /**101 *102 */103 void TestEntity::draw() const104 {105 106 }107 135 108 136
Note: See TracChangeset
for help on using the changeset viewer.