Represents position, rotation, and scale of an entity. More...
#include <TransformComponent.h>
Public Member Functions | |
| Crux::mat4 | GetTransform () const |
| Computes world transformation matrix. | |
Public Attributes | |
| Crux::vec3 | Translation {0.0f, 0.0f, 0.0f} |
| World position. | |
| Crux::vec3 | Rotation {0.0f, 0.0f, 0.0f} |
| Euler rotation (XYZ radians). | |
| Crux::vec3 | Scale {1.0f, 1.0f, 1.0f} |
| Local scale. | |
Represents position, rotation, and scale of an entity.
|
inline |
Computes world transformation matrix.
| Crux::vec3 Raven::TransformComponent::Rotation {0.0f, 0.0f, 0.0f} |
Euler rotation (XYZ radians).
| Crux::vec3 Raven::TransformComponent::Scale {1.0f, 1.0f, 1.0f} |
Local scale.
| Crux::vec3 Raven::TransformComponent::Translation {0.0f, 0.0f, 0.0f} |
World position.