Roll-Your-Own Vector

Original Author: Thomas Young (Also posted to series of posts about Vectors and Vector based containers.) STL vectors offer a great combination of dynamically resizing convenience and low level contiguous buffer accessing performance, but std::vector is not the only option, and custom implementations of this container can sometimes be a better fit for your specific … Continue reading “Roll-Your-Own Vector”

Havok Physics: 4 tips you won’t find in the docs

Original Author: Eric Undersander Hey fellow coders, I’ve used Havok Physics at several game studios over the years and I thought I’d share some little-known but hopefully useful tips about this middleware. For a rigid body, find all rigid bodies touching it A recent game project involved a house interior scene, and I needed to … Continue reading “Havok Physics: 4 tips you won’t find in the docs”

Using STL Vectors

Original Author: Thomas Young (Also posted to series of posts about Vectors and Vector based containers.) Using STL Vectors STL style vectors are a pretty useful construct. I remember coming to C++ (and the STL) from a background in lower level programming, and finding STL vectors a bit surprising, with the idea of amortized constant … Continue reading “Using STL Vectors”