From 92b010cc87a955ae9acad4187c6d2831ba7d9298 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Mon, 24 Oct 2011 14:58:07 +0100 Subject: [PATCH] Document GLM 0.9.2.7 release --- doc/src/data.xml | 83 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/doc/src/data.xml b/doc/src/data.xml index f703ca7d..75269441 100644 --- a/doc/src/data.xml +++ b/doc/src/data.xml @@ -3,6 +3,7 @@
+ @@ -69,6 +70,7 @@
+ @@ -162,6 +164,87 @@ + + + This revision fixes two problems: First, it adds all matrix products for all possible combinations of none-squared matrices. Thanks to Grant James who has provide the code for that. + + + + + #include + <glm/glm.hpp> + + + + + + void kueken() + + + { + + + glm::mat3x2 m1; + + + glm::mat2x3 n1; + + + ... + + + glm::mat2x2 P = m1 * n1; // Valid before GLM 0.9.2.7 + + + + + + glm::mat3x2 m2; + + + glm::mat4x3 n2; + + + ... + + + glm::mat4x2 P2 = m2 * n2; // Fixed in GLM 0.9.2.7 + + + + + + glm::mat4x3 m3; + + + glm::mat4x4 n3; + + + ... + + + glm::mat4x3 P3 = m3 * n3; // Fixed in GLM 0.9.2.7 + + + ... + + + } + + + + This support is actually pretty useful as soon as we are interested in optimizing the matrix storage. + + + + It also fixes vector contructors which can take multiple parameters that may be swizzle operands. + + + GLM 0.9.2.7 (zip) + GLM 0.9.2.7 (7z) + Submit a bug report + + Half based vector types have been fixed on GCC 4.4 and below, missing l-value swizzle operations added and a couple of other bugs squeezed down.