Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3612 in orxonox.OLD for orxonox/trunk/src/story_entities


Ignore:
Timestamp:
Mar 21, 2005, 1:14:14 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: implemented a primitive class, it is able to render cubes, spheres, cylinders and disks. yet not so mutch customizeable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r3608 r3612  
    238238            Vector* es = new Vector (10, 5, 0);
    239239            Quaternion* qs = new Quaternion ();
    240             WorldEntity* pr = new Primitive(PSPHERE);
     240            WorldEntity* pr = new Primitive(P_CUBE);
    241241            pr->setName("primitive");
    242242            this->spawn(pr, this->localPlayer, es, qs, PNODE_MOVEMENT);
     
    290290            Vector* es = new Vector (20, 0, 0);
    291291            Quaternion* qs = new Quaternion ();
    292             WorldEntity* pr = new Primitive(PSPHERE);
     292            WorldEntity* pr = new Primitive(P_SPHERE);
    293293            pr->setName("primitive");
    294294            this->spawn(pr, this->localPlayer, es, qs, PNODE_ROTATE_AND_MOVE);
Note: See TracChangeset for help on using the changeset viewer.