![]() |
Divide Framework 0.1
A free and open-source 3D Framework under heavy development
|
#include <TransformInterface.h>
Public Attributes | |
Quaternion< F32 > | _orientation {} |
vec3< F32 > | _translation { VECTOR3_ZERO } |
The object's position in the world as a 3 component vector. | |
vec3< F32 > | _scale { VECTOR3_UNIT } |
Definition at line 39 of file TransformInterface.h.
Quaternion<F32> Divide::TransformValues::_orientation {} |
All orientation/rotation info is stored in a Quaternion (because they are awesome and also have an internal mat4 if needed)
Definition at line 43 of file TransformInterface.h.
vec3<F32> Divide::TransformValues::_scale { VECTOR3_UNIT } |
Scaling is stored as a 3 component vector. This helps us check more easily if it's an uniform scale or not
Definition at line 48 of file TransformInterface.h.
vec3<F32> Divide::TransformValues::_translation { VECTOR3_ZERO } |
The object's position in the world as a 3 component vector.
Definition at line 45 of file TransformInterface.h.