Somewhat working camera

This commit is contained in:
Dynamitos
2022-03-19 22:45:30 +01:00
parent 84049a762c
commit cd28e433cc
41 changed files with 602 additions and 496 deletions
+5
View File
@@ -23,12 +23,17 @@ public:
Vector getPosition() const;
Quaternion getRotation() const;
Vector getScale() const;
Vector getForward() const;
Vector getRight() const;
Vector getUp() const;
bool equals(const Transform &other, float tolerance = 0.000000001f);
static void multiply(Transform *outTransform, const Transform *a, const Transform *b);
static void add(Transform *outTransform, const Transform *a, const Transform *b);
Transform &operator=(const Transform &other);
Transform &operator=(Transform &&other);
Transform operator+(const Transform& other) const;
Transform operator*(const Transform &other) const;
private: