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

@ -1,16 +1,16 @@
#include "Rotation.h"
Rotation::Rotation(double angle, Axis axis, const Point& loc, const Vector& customAxis)
Rotation::Rotation(double angle, Axis axis, const Point3& loc, const Vector3& customAxis)
: mAngle(angle),
mAxis(axis),
mPoint(loc),
mCustomAxis(customAxis),
mMatrix(3, 3)
mMatrix()
{
updateMatrix();
}
const Matrix& Rotation::getMatrix() const
const SquareMatrix3& Rotation::getMatrix() const
{
return mMatrix;
}