STL & Simple Physics

  • Review the primary STL containers.
  • Review memory management in C++ and the implications of using these containers.
  • Explore the polymorphic object problem in STL in depth, and examine potential solutions
  • Have explored an evolving model in some depth
  • Understanding how elementary physics can be integrated---

Objectives

  • Explore the primary stl sequences, associations and adapters
  • Examine the implications of using inheritance and virtual functions with these containers
  • Gain an understanding of the memory management implications of storing references in containers
  • Use a simple auto pointer implementation to ease the burden of managing memory
  • Explore the ptr_container library, and gain an understanding of how it manages memory in this context.

Objectives

  • Review the approach to model load and rendering
  • Refactor the existing classes into an 5 primary domains:
    • scene
    • physics
    • model
    • world
    • utils
  • Construct an application along these lines - illustrated by a forces applied to a cube