From b2a5c6a0f3cd27e70d4e77a26d3e28d68dc86b2d Mon Sep 17 00:00:00 2001 From: Lawrence Date: Sat, 18 Jan 2020 10:59:57 -0800 Subject: [PATCH] Fix a homogeneous function parameter type The rotation matrix function signature used a generic type for the rotation angle. Change it to double. --- rtengine/homogeneouscoordinates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/homogeneouscoordinates.h b/rtengine/homogeneouscoordinates.h index 7c5924d1e..12a2227ae 100644 --- a/rtengine/homogeneouscoordinates.h +++ b/rtengine/homogeneouscoordinates.h @@ -51,7 +51,7 @@ Matrix projectionMatrix(T location, Axis normal); * @param axis Axis of rotation. */ template -Matrix rotationMatrix(T radians, Axis axis); +Matrix rotationMatrix(double radians, Axis axis); /** * Creates a 3 dimensional transformation matrix for scaling.