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:
parent
d9886d58f9
commit
b2a5c6a0f3
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user