#ifndef TRANSFORM_H #define TRANSFORM_H #include #include "types.h" struct Transform { Transform(); Transform(Vector3 position, Vector3 rotation); Transform(Vector3 position, Vector3 rotation, Vector3 scale); Vector3 position; Vector3 rotation; Vector3 scale; void Translate(cfloat x, cfloat y, cfloat z); Vector3 Forward(); Vector3 Right(); Vector3 Up(); Matrix RotationMatrix(); }; #endif /* TRANSFORM_H */