diff --git a/glm/gtc/quaternion.hpp b/glm/gtc/quaternion.hpp index 769bab84..edf07faa 100644 --- a/glm/gtc/quaternion.hpp +++ b/glm/gtc/quaternion.hpp @@ -251,7 +251,7 @@ namespace glm GLM_FUNC_DECL tquat rotate(tquat const & q, T const & angle, vec<3, T, P> const & axis); /// Returns euler angles, pitch as x, yaw as y, roll as z. - /// The result is expressed in radians if GLM_FORCE_RADIANS is defined or degrees otherwise. + /// The result is expressed in radians. /// /// @see gtc_quaternion template diff --git a/glm/gtx/matrix_transform_2d.hpp b/glm/gtx/matrix_transform_2d.hpp index a8be9bc1..b7a23a35 100644 --- a/glm/gtx/matrix_transform_2d.hpp +++ b/glm/gtx/matrix_transform_2d.hpp @@ -42,7 +42,7 @@ namespace glm /// Builds a rotation 3 * 3 matrix created from an angle. /// /// @param m Input matrix multiplied by this translation matrix. - /// @param angle Rotation angle expressed in radians if GLM_FORCE_RADIANS is defined or degrees otherwise. + /// @param angle Rotation angle expressed in radians. template GLM_FUNC_QUALIFIER mat<3, 3, T, P> rotate( mat<3, 3, T, P> const& m, diff --git a/glm/gtx/rotate_normalized_axis.hpp b/glm/gtx/rotate_normalized_axis.hpp index 229606f5..ec9852d8 100644 --- a/glm/gtx/rotate_normalized_axis.hpp +++ b/glm/gtx/rotate_normalized_axis.hpp @@ -35,7 +35,7 @@ namespace glm /// Builds a rotation 4 * 4 matrix created from a normalized axis and an angle. /// /// @param m Input matrix multiplied by this rotation matrix. - /// @param angle Rotation angle expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise. + /// @param angle Rotation angle expressed in radians. /// @param axis Rotation axis, must be normalized. /// @tparam T Value type used to build the matrix. Currently supported: half (not recommanded), float or double. /// @@ -52,7 +52,7 @@ namespace glm /// Rotates a quaternion from a vector of 3 components normalized axis and an angle. /// /// @param q Source orientation - /// @param angle Angle expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise. + /// @param angle Angle expressed in radians. /// @param axis Normalized axis of the rotation, must be normalized. /// /// @see gtx_rotate_normalized_axis diff --git a/readme.md b/readme.md index f747b274..74d2de98 100644 --- a/readme.md +++ b/readme.md @@ -78,6 +78,7 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate) - Fixed intersectRayTriangle #6 - Fixed dual quaternion != operator #629 - Fixed usused variable warning in GTX_spline #618 +- Fixed references to GLM_FORCE_RADIANS which was removed #642 #### Deprecation: - Requires Visual Studio 2013, GCC 4.7, Clang 3.4, Cuda 7, ICC 2013 or a C++11 compiler