Fix a homogeneous function parameter type

The rotation matrix function signature used a generic type for the
rotation angle. Change it to double.
This commit is contained in:
Lawrence 2020-01-18 10:59:57 -08:00
parent d9886d58f9
commit b2a5c6a0f3

View File

@ -51,7 +51,7 @@ Matrix<T> projectionMatrix(T location, Axis normal);
* @param axis Axis of rotation. * @param axis Axis of rotation.
*/ */
template <typename T> template <typename T>
Matrix<T> rotationMatrix(T radians, Axis axis); Matrix<T> rotationMatrix(double radians, Axis axis);
/** /**
* Creates a 3 dimensional transformation matrix for scaling. * Creates a 3 dimensional transformation matrix for scaling.