From a454354dfa670b2b5ce0070347e8997474f8da94 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Thu, 21 Feb 2013 23:24:00 +0100 Subject: [PATCH 1/3] Updated readme --- readme.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.txt b/readme.txt index 29882659..ad9050f7 100644 --- a/readme.txt +++ b/readme.txt @@ -41,6 +41,7 @@ GLM 0.9.4.3: 2013-0X-XX -------------------------------------------------------------------------------- - Detected qualifier for Clang - Fixed C++11 mode for GCC, couldn't be enabled without MS extensions +- Fixed squad, intermediate and exp quaternion functions ================================================================================ GLM 0.9.4.2: 2013-02-14 From f37af51426a150125ddd9485867e1b8d7d80431d Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Fri, 22 Feb 2013 10:17:25 +0100 Subject: [PATCH 2/3] Fixed API for euclian, only need a vec2 parameter --- glm/gtx/polar_coordinates.hpp | 12 +++++++----- glm/gtx/polar_coordinates.inl | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/glm/gtx/polar_coordinates.hpp b/glm/gtx/polar_coordinates.hpp index 23e91af0..1cba486d 100644 --- a/glm/gtx/polar_coordinates.hpp +++ b/glm/gtx/polar_coordinates.hpp @@ -50,17 +50,19 @@ namespace glm /// @addtogroup gtx_polar_coordinates /// @{ - //! Convert Euclidean to Polar coordinates, x is the xz distance, y, the latitude and z the longitude. - //! From GLM_GTX_polar_coordinates extension. + /// Convert Euclidean to Polar coordinates, x is the xz distance, y, the latitude and z the longitude. + /// + /// @see gtx_polar_coordinates template detail::tvec3 polar( detail::tvec3 const & euclidean); - //! Convert Polar to Euclidean coordinates. - //! From GLM_GTX_polar_coordinates extension. + /// Convert Polar to Euclidean coordinates. + /// + /// @see gtx_polar_coordinates template detail::tvec3 euclidean( - detail::tvec3 const & polar); + detail::tvec2 const & polar); /// @} }//namespace glm diff --git a/glm/gtx/polar_coordinates.inl b/glm/gtx/polar_coordinates.inl index 6d236efd..376a31ce 100644 --- a/glm/gtx/polar_coordinates.inl +++ b/glm/gtx/polar_coordinates.inl @@ -35,7 +35,7 @@ namespace glm template GLM_FUNC_QUALIFIER detail::tvec3 euclidean ( - detail::tvec3 const & polar + detail::tvec2 const & polar ) { #ifdef GLM_FORCE_RADIANS From bea3bd277f484eb3efcb8fa542ddb5186d283d44 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Fri, 22 Feb 2013 10:48:47 +0100 Subject: [PATCH 3/3] Updated readme --- readme.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.txt b/readme.txt index ad9050f7..b90b17a9 100644 --- a/readme.txt +++ b/readme.txt @@ -42,6 +42,7 @@ GLM 0.9.4.3: 2013-0X-XX - Detected qualifier for Clang - Fixed C++11 mode for GCC, couldn't be enabled without MS extensions - Fixed squad, intermediate and exp quaternion functions +- Fixed GTX_polar_coordinates euclidean function, takes a vec2 instead of a vec3 ================================================================================ GLM 0.9.4.2: 2013-02-14