Transform
Previous: Bevy
A tranform is a primitive component in game programming for representing an object’s position. They are used in most game engines and are a good abstraction for handling the behvavior of an object.
Tranforms generally contain three pieces: position, rotation, and scale. Position and scale are represeted with vectors, and rotation is represented with a quaternion.
class Transform
{
glm::vec3 position;
glm::quat rotation;
glm::vec3 scale;
}