From facf7a84c54407430e6c9f74fc36b023b28410fb Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Tue, 12 Apr 2011 22:39:52 +0100 Subject: [PATCH 1/2] Getting ready GLM 0.9.1.2 release --- doc/src/data.xml | 16 ++++++++++++++-- readme.txt | 5 +++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/doc/src/data.xml b/doc/src/data.xml index 50622cd3..2e68b38a 100644 --- a/doc/src/data.xml +++ b/doc/src/data.xml @@ -3,7 +3,8 @@
- + + @@ -60,7 +61,8 @@
- + + @@ -150,6 +152,16 @@ + + + Only bug fixes for GLM 0.9.1.2. + + + GLM 0.9.1.2 (zip) + GLM 0.9.1.2 (7z) + Submit a bug report + + GLM 0.9.1.1 fixes some bugs, warnings on Clang C++ and clean up a bit the code. diff --git a/readme.txt b/readme.txt index 90418ce0..f7a8d2ec 100644 --- a/readme.txt +++ b/readme.txt @@ -13,6 +13,11 @@ GLM is a header only library, there is nothing to build, just include it. More informations in GLM manual: http://glm.g-truc.net/glm-0.9.1.pdf +================================================================================ +GLM 0.9.1.2: 2010-04-12 +-------------------------------------------------------------------------------- +- Fixed bugs + ================================================================================ GLM 0.9.1.1: 2010-03-17 -------------------------------------------------------------------------------- From 5459a4dcfbf42e8206b3546300fb3090552e1a7b Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 20 Apr 2011 10:30:26 +0100 Subject: [PATCH 2/2] Clarify angleAxis function --- glm/gtx/quaternion.hpp | 6 +++--- glm/gtx/quaternion.inl | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/glm/gtx/quaternion.hpp b/glm/gtx/quaternion.hpp index 91ca1751..3e76481d 100644 --- a/glm/gtx/quaternion.hpp +++ b/glm/gtx/quaternion.hpp @@ -121,7 +121,7 @@ namespace glm detail::tvec3 axis( detail::tquat const & x); - //! Build a quaternion from an angle and an axis. + //! Build a quaternion from an angle and a normalized axis. //! From GLM_GTX_quaternion extension. template detail::tquat angleAxis( @@ -130,12 +130,12 @@ namespace glm valType const & y, valType const & z); - //! Build a quaternion from an angle and an axis. + //! Build a quaternion from an angle and a normalized axis. //! From GLM_GTX_quaternion extension. template detail::tquat angleAxis( valType const & angle, - detail::tvec3 const & v); + detail::tvec3 const & axis); //! Extract the real component of a quaternion. //! From GLM_GTX_quaternion extension. diff --git a/glm/gtx/quaternion.inl b/glm/gtx/quaternion.inl index ba69b9d1..6ae3fcb9 100644 --- a/glm/gtx/quaternion.inl +++ b/glm/gtx/quaternion.inl @@ -185,7 +185,6 @@ namespace quaternion ) { detail::tquat result; - detail::tvec3 v_normalized = glm::normalize(v); valType a = glm::radians(angle); valType s = glm::sin(a * valType(0.5));