17 #include <ht_platform.h> 30 Transform(
float posX,
float posY,
float posZ,
31 float rotX,
float rotY,
float rotZ,
32 float scaleX,
float scaleY,
float scaleZ);
33 Transform(Math::Vector3 position, Math::Vector3 rotation, Math::Vector3 scale);
40 Math::Matrix4* GetWorldMatrix();
46 Math::Matrix4* GetLocalMatrix();
51 void UpdateWorldMatrix();
62 void RotateX(
float val);
68 void RotateY(
float val);
74 void RotateZ(
float val);
80 void TranslateX(
float val);
86 void TranslateY(
float val);
92 void TranslateZ(
float val);
98 void Translate(Math::Vector3 val);
104 Math::Vector3 GetPosition();
110 Math::Vector3 GetWorldPosition();
116 Math::Vector3 GetRotation();
122 Math::Vector3 GetScale();
128 Math::Vector3 GetForward();
133 Math::Vector3 GetUp();
139 Math::Vector3 GetRight();
145 Math::Vector3* GetRotationRef();
151 void SetPosition(Math::Vector3 val);
157 void SetRotation(Math::Vector3 val);
163 void SetScale(Math::Vector3 val);
169 void SetForward(Math::Vector3 val);
211 float ScaleX()
const;
217 float ScaleY()
const;
223 float ScaleZ()
const;
237 Math::Vector3 m_position;
238 Math::Vector3 m_rotation;
239 Math::Vector3 m_scale;
241 Math::Vector3 m_worldPosition;
244 Math::Vector3 m_forward;
246 Math::Vector3 m_right;
248 Math::Matrix4 m_world;
249 Math::Matrix4 m_local;
255 std::vector<Transform*> m_childTransforms;
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_glfwkeyboard.h:21
Definition: ht_gameobject.h:48