Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2006, 4:28:11 PM (19 years ago)
Author:
patrick
Message:

giving the crengine the ability to check for collisions itself, collision tube only used as container

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/coll_rect/src/lib/collision_reaction/collision_tube.h

    r9983 r9985  
    6868                                const Vector& normal, const Vector& position, bool bInWall = false);
    6969
    70     void handleCollisions();
     70    /** @returns an iterator pointing to the beginning of the list */
     71    CollisionIterator& begin() const { return this->_collisionList.begin(); }
     72    /** @returns an iterator pointing to the end of the list */
     73    CollisionIterator& end()   const { return this->_collisionList.end(); }
    7174
    7275
    7376  private:
    7477    std::vector<Collision*>         _collisionList;                      //!< the list of collisions since the last processing
    75     CollisionReaction*              _reactionList[CREngine::CR_NUMBER];  //!< the collision reaction list containing all reactions types
    7678
    7779
Note: See TracChangeset for help on using the changeset viewer.