Changeset 3614 in orxonox.OLD for orxonox/trunk/src/world_entities/primitive.h
- Timestamp:
- Mar 21, 2005, 2:25:10 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/primitive.h
r3612 r3614 17 17 virtual ~Primitive (); 18 18 19 void setForm(pForm form); 20 void setSize(float size); 21 void setMaterial(Material* material); 22 void setTexture(char* name); 23 24 19 25 virtual void tick (float time); 20 26 virtual void hit (WorldEntity* weapon, Vector* loc); 21 27 virtual void collide (WorldEntity* other, Uint32 ownhitflags, Uint32 otherhitflags); 28 virtual void draw (); 22 29 23 virtual void draw ();24 void glDrawCube();25 30 26 31 27 32 private: 28 GLUquadricObj *object; //!< the object to be rendered29 Material *material; //!< A Material for the SkySphere.33 GLUquadricObj* object; //!< the object to be rendered 34 Material* material; //!< A Material for the SkySphere. 30 35 pForm form; 36 char* textureName; 37 float size; 31 38 39 void glDrawCube(); 32 40 }; 33 41
Note: See TracChangeset
for help on using the changeset viewer.