Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2315


Ignore:
Timestamp:
Dec 3, 2008, 1:39:26 PM (15 years ago)
Author:
rgrieder
Message:

Hackfixed compiler problem with gcc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/physics/src/orxonox/objects/Scene.cc

    r2313 r2315  
    137137        if (wantPhysics && !hasPhysics())
    138138        {
    139             btVector3 worldAabbMin(worldAabbMin.x, worldAabbMin.y, worldAabbMin.z);
    140             btVector3 worldAabbMax(worldAabbMax.x, worldAabbMax.y, worldAabbMax.z);
     139                        float x = worldAabbMin.x;
     140                        float y = worldAabbMin.y;
     141                        float z = worldAabbMin.z;
     142            btVector3 worldAabbMin(x,y,z);
     143                        x = worldAabbMax.x;
     144                        y = worldAabbMax.y;
     145                        z = worldAabbMax.z;
     146            btVector3 worldAabbMax(x,y,z);
    141147
    142148            btDefaultCollisionConfiguration*     collisionConfig = new btDefaultCollisionConfiguration();
Note: See TracChangeset for help on using the changeset viewer.