Changeset 3649 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Mar 24, 2005, 5:13:20 PM (20 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/primitive.cc
r3616 r3649 149 149 \param time in sec 150 150 */ 151 void Primitive::tick (float time)151 inline void Primitive::tick (float time) 152 152 { 153 153 // Vector v(0.0, 0.0, 1.0); … … 159 159 \brief drawing function of the object 160 160 */ 161 void Primitive::draw ()161 inline void Primitive::draw () 162 162 { 163 163 glMatrixMode(GL_MODELVIEW); -
orxonox/trunk/src/world_entities/world_entity.cc
r3608 r3649 170 170 Handle all stuff that should update with time inside this method (movement, animation, etc.) 171 171 */ 172 void WorldEntity::tick(float time)172 inline void WorldEntity::tick(float time) 173 173 { 174 174 } … … 180 180 This is a central function of an entity: call it to let the entity painted to the screen. Just override this function with whatever you want to be drawn. 181 181 */ 182 void WorldEntity::draw()182 inline void WorldEntity::draw() 183 183 {} 184 184
Note: See TracChangeset
for help on using the changeset viewer.