This class represents a three component vector. It is used for storing positions, velocities, and forces.
Public Functions
-
inline Vec3()
Create a Vec3 whose elements are all 0.
-
inline Vec3(double x, double y, double z)
Create a Vec3 with specified x, y, and z components.