Changeset 9991 in orxonox.OLD for branches/playability/src/world_entities/test_entity2.cc
- Timestamp:
- Dec 3, 2006, 5:40:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/test_entity2.cc
r9989 r9991 85 85 86 86 this->angle = 0; 87 this->rotationSpeed = 10;87 this->rotationSpeed = 3; 88 88 89 89 //this->material->setDiffuseMap("maps/torp2.png"); … … 122 122 Vector tmpRot = this->getAbsDir().getSpacialAxis(); 123 123 glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); 124 124 glRotatef(this->angle, 0.0, 0.0, -1.0); 125 125 //PRINTF(0)("axis: %f\n", axis); 126 126 … … 240 240 glEnd(); 241 241 242 //this->angle += this->rotationSpeed;243 glRotatef(this->angle, 0.0, 1.0, 0.0);244 245 242 glPopMatrix(); 246 243 glPopAttrib();
Note: See TracChangeset
for help on using the changeset viewer.