Somewhat working camera

This commit is contained in:
Dynamitos committed 2022-03-19 22:45:30 +01:00
1 parent 84049a762c
commit cd28e433cc
41 files changed
+602 -496

No files matched your search

+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: