Switch to template types for vectors
This commit is contained in:
parent
9f036d6438
commit
8192ef78e8
105 changed files with 1614 additions and 1424 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue