Vector
A list of numbers that describes a direction and a length. In 2D it has two parts, (x, y). In 3D it has three, (x, y, z).
The same type is used for positions, velocities, forces and colors. Multiply velocity by delta time and add the result to position to move an object.
- Further reading
- LearnOpenGL: Transformations: vectors