From b38a8b4e5ae4f8b02fb284a95a25a675923ba778 Mon Sep 17 00:00:00 2001 From: Mathias Labeyrie Date: Wed, 5 Nov 2014 13:51:16 +0100 Subject: [PATCH] rename three_half_pi() => three_over_two_pi() --- glm/gtc/constants.hpp | 2 +- glm/gtc/constants.inl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/gtc/constants.hpp b/glm/gtc/constants.hpp index fc721f10..a39c9bd1 100644 --- a/glm/gtc/constants.hpp +++ b/glm/gtc/constants.hpp @@ -89,7 +89,7 @@ namespace glm /// Return pi / 2 * 3. /// @see gtc_constants template - GLM_FUNC_DECL genType three_half_pi(); + GLM_FUNC_DECL genType three_over_two_pi(); /// Return pi / 4. /// @see gtc_constants diff --git a/glm/gtc/constants.inl b/glm/gtc/constants.inl index 314ebfbc..076375c7 100644 --- a/glm/gtc/constants.inl +++ b/glm/gtc/constants.inl @@ -73,7 +73,7 @@ namespace glm } template - GLM_FUNC_QUALIFIER genType three_half_pi() + GLM_FUNC_QUALIFIER genType three_over_two_pi() { return genType(4.71238898038468985769396507491925432); }