tomhalstead/physics-simulator — pull request #28 by geoffire (2013-11-23 07:02:00+00:00)
Title: Jeffrey thompson

*Updated* Iterator removed from Collision and added a virtual destructor to CBase class

--== Iterator ==--
-Moved Iterator to be stand-alone so it can be used in the std::vector that is in Collision (and possibly elsewhere)
-added Find(T*) and Clear()

--== PhysicsEngine ==--
-deleted the std::vector and made it a single pointer. I decided to run with the first collision only method and if we want to change it later we can, it makes CollisionEngine and Connections more consistent in how they work and cleaner. It won't be hard to change later if we decide to.

--==Collisions==--
-New File!
-here we have CBase with is the base class for CollisionEngine and Connections which has all the (virtual) functions physics engine will use.
-Detect() accepts a Iterator instead of CollisonEngine holding it internally.
-Collision is a class nested within CBase which uses std::vector to hold PointMasses Involved with the collision.

--==Collision Engine==--
-Empty child of CBase at the moment, which is enough to let everything else work. We can work on this again after getting PhysicsEngine and Iterator running.

--==Connection==--
-Same status as CollisionEngine