Here are some additions to the vector class in C++. This month, I continue our discussion of a C++ class suitable for doing math with vectors. As useful as this math is, things get even better when we ...
Vector types are used in almost any kind of game code. Position, velocity, acceleration, forces, points in polygons and polyhedra etc. are all using some sort of vector type. Writing a vector class ...