1 #ifndef TRANSFORM_COMPONENT_H
2 #define TRANSFORM_COMPONENT_H
7 #include "Quaternion.hpp"
36 void MoveUp(
float amount );
56 const Matrix44&
GetVrView()
const {
return hmdView; }
58 const Matrix44&
GetVrView()
const {
return Matrix44::identity; }
76 static int Type() {
return 2; }
79 static unsigned New();
82 static TransformComponent* Get(
unsigned index );
84 void SolveLocalMatrix();
86 void UpdateViewMatrix();
89 Quaternion localRotation;
92 TransformComponent* parent =
nullptr;
Definition: AudioClip.hpp:4
3-component vector.
Definition: Vec3.hpp:12
GameObject is composed of components that define its behavior.
Definition: GameObject.hpp:9
Stores an orientation.
Definition: Quaternion.hpp:11