From 816b6b8c34d9204298b49fa810d02d094be7ca62 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Wed, 23 Dec 2015 01:24:48 +0100 Subject: [PATCH] Fix wrong docs The function this function is a helper of is using radians. In fact, glm is using radians everywhere! --- glm/gtx/transform.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/gtx/transform.hpp b/glm/gtx/transform.hpp index 7e6a4a73..5d22fba5 100644 --- a/glm/gtx/transform.hpp +++ b/glm/gtx/transform.hpp @@ -64,7 +64,7 @@ namespace glm GLM_FUNC_DECL tmat4x4 translate( tvec3 const & v); - /// Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in degrees. + /// Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in radians. /// @see gtc_matrix_transform /// @see gtx_transform template