Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6307 in orxonox.OLD for trunk/src/world_entities


Ignore:
Timestamp:
Dec 27, 2005, 12:20:32 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: PNode fix: PNODE_MOVEMENT didn't work, because the mask was bork

Location:
trunk/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/skybox.cc

    r6142 r6307  
    6868  this->size = 100.0;
    6969
    70   this->material = new Material*[6];
    7170  for (int i = 0; i < 6; i++)
    7271    {
     
    9594  for (int i = 0; i < 6; i++)
    9695    delete this->material[i];
    97   delete[] this->material;
    98  }
     96}
    9997
    10098/**
  • trunk/src/world_entities/skybox.h

    r5511 r6307  
    4444  void rebuild();
    4545
    46   Material**      material;        //!< Materials for the SkyBox. sorted by number (0-5) top, bottom, left, right, front, back
     46  Material*       material[6];     //!< Materials for the SkyBox. sorted by number (0-5) top, bottom, left, right, front, back
    4747  float           size;            //!< Size of the SkyBox. This should match the frustum maximum range.
    4848
Note: See TracChangeset for help on using the changeset viewer.