Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2006, 11:05:21 PM (18 years ago)
Author:
patrick
Message:

cr: init and reset phases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cr/src/lib/collision_reaction/collision.h

    r7935 r7940  
    1717
    1818 public:
    19   Collision();
     19   Collision();
    2020  virtual ~Collision();
    2121
     22  /** collides two WorldEntities @param entityA world entity A, @param entityB world entity B, @param bvA volume A @param bvB volumeB */
     23  inline void collide(WorldEntity* entityA, WorldEntity* entityB, BoundingVolume* bvA, BoundingVolume* bvB)
     24  { this->entityA = entityA; this->entityB = entityB; this->bvA = bvA; this->bvB = bvB; }
     25
     26
     27  /** @return Collision WorldEntity A */
     28  inline const WorldEntity* getEntityA() const { return this->entityA; }
     29  /** @return Collision WorldEntity B */
     30  inline const WorldEntity* getEntityB() const { return this->entityB; }
     31  /** @return Bounding Volume from EntityA */
     32  inline const BoundingVolume* getBVA() const { return this->bvA; }
     33  /** @return Bounding Volume from EntityB */
     34  inline const BoundingVolume* getBVB() const { return this->bvB; }
    2235
    2336
Note: See TracChangeset for help on using the changeset viewer.