Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 9, 2009, 2:48:32 PM (15 years ago)
Author:
rgrieder
Message:

Renamed stupid omni_cast to multi_cast. It still eats about anything ;)

Location:
code/branches/pch/src/orxonox/objects/collisionshapes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/orxonox/objects/collisionshapes/BoxCollisionShape.cc

    r3110 r3125  
    7272    btCollisionShape* BoxCollisionShape::createNewShape() const
    7373    {
    74         return new btBoxShape(omni_cast<btVector3>(this->halfExtents_));
     74        return new btBoxShape(multi_cast<btVector3>(this->halfExtents_));
    7575    }
    7676}
  • code/branches/pch/src/orxonox/objects/collisionshapes/CompoundCollisionShape.cc

    r3110 r3125  
    8989        {
    9090            // Only actually attach if we didn't pick a CompoundCollisionShape with no content
    91             btTransform transf(omni_cast<btQuaternion>(shape->getOrientation()), omni_cast<btVector3>(shape->getPosition()));
     91            btTransform transf(multi_cast<btQuaternion>(shape->getOrientation()), multi_cast<btVector3>(shape->getPosition()));
    9292            this->compoundShape_->addChildShape(transf, shape->getCollisionShape());
    9393
     
    134134        {
    135135            // Only actually attach if we didn't pick a CompoundCollisionShape with no content
    136             btTransform transf(omni_cast<btQuaternion>(shape->getOrientation()), omni_cast<btVector3>(shape->getPosition()));
     136            btTransform transf(multi_cast<btQuaternion>(shape->getOrientation()), multi_cast<btVector3>(shape->getPosition()));
    137137            this->compoundShape_->addChildShape(transf, shape->getCollisionShape());
    138138            it->second = shape->getCollisionShape();
  • code/branches/pch/src/orxonox/objects/collisionshapes/PlaneCollisionShape.cc

    r3110 r3125  
    7272    btCollisionShape* PlaneCollisionShape::createNewShape() const
    7373    {
    74         return new btStaticPlaneShape(omni_cast<btVector3>(this->normal_), this->offset_);
     74        return new btStaticPlaneShape(multi_cast<btVector3>(this->normal_), this->offset_);
    7575    }
    7676}
Note: See TracChangeset for help on using the changeset viewer.