Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3587 in orxonox.OLD for orxonox/trunk


Ignore:
Timestamp:
Mar 17, 2005, 2:25:43 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: putted a sphere infornt of the player. no style at all… just for debugging…

Location:
orxonox/trunk/src
Files:
2 edited

Legend:

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

    r3586 r3587  
    217217
    218218           
    219             //Vector* es = new Vector (10, 5, 0);
    220             //Quaternion* qs = new Quaternion ();
    221             //WorldEntity* pr = new Primitive(PSPHERE);
    222             //pr->setName("primitive");
    223             //this->spawn(pr, this->localPlayer, es, qs, PNODE_ROTATE_AND_MOVE);
     219            Vector* es = new Vector (10, 5, 0);
     220            Quaternion* qs = new Quaternion ();
     221            WorldEntity* pr = new Primitive(PSPHERE);
     222            pr->setName("primitive");
     223            this->spawn(pr, this->localPlayer, es, qs, PNODE_MOVEMENT);
    224224           
    225225
  • orxonox/trunk/src/world_entities/primitive.cc

    r3586 r3587  
    3838  gluQuadricTexture(this->object, GL_TRUE);
    3939
    40   this->material = new Material("Sky");
     40  this->material = new Material("Sphere");
    4141  this->material->setDiffuseMap("../data/pictures/sky-replace.jpg");
    4242  this->material->setIllum(3);
Note: See TracChangeset for help on using the changeset viewer.