Switch to template types for vectors

This commit is contained in:
jmsgrogan 2023-01-30 14:53:49 +00:00
parent 9f036d6438
commit 8192ef78e8
105 changed files with 1614 additions and 1424 deletions

View file

@ -15,9 +15,9 @@ public:
USER
};
Rotation(double angle = 0.0, Axis axis = Axis::Z, const Point& loc = {}, const Vector& customAxis = {});
Rotation(double angle = 0.0, Axis axis = Axis::Z, const Point3& loc = {}, const Vector3& customAxis = {});
const Matrix& getMatrix() const;
const SquareMatrix3& getMatrix() const;
bool isIdentity() const;
@ -38,8 +38,8 @@ private:
double mAngle{ 0 };
Axis mAxis{ Axis::Z };
Point mPoint;
Vector mCustomAxis;
Point3 mPoint;
Vector3 mCustomAxis;
Matrix mMatrix;
SquareMatrix3 mMatrix;
};