diff --git a/doc/download.html b/doc/download.html index 58b0157a..d93a962d 100644 --- a/doc/download.html +++ b/doc/download.html @@ -12,10 +12,10 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
OpenGL Mathematics
GLSL + Optional features = OpenGL Mathematics (GLM)
A C++ mathematics library for graphics programming


Current release
08/01/2012: + Download GLM 0.9.3.0






OpenGL Mathematics
GLSL + Optional features = OpenGL Mathematics (GLM)
A C++ mathematics library for graphics programming


Current release
09/01/2012: GLM 0.9.3.0 (4.3 MB) -
_________________

GLM - zip files
08/01/2012: GLM 0.9.3.0 (4.3 MB) +
_________________

GLM - zip files
09/01/2012: GLM 0.9.3.0 (4.3 MB)
12/12/2011: GLM 0.9.3.B (4.3 MB)
11/11/2011: GLM 0.9.3.A (4.3 MB)
24/10/2011: GLM 0.9.2.7 (3.4 MB) @@ -83,7 +83,7 @@
02/19/2006: GLM 0.3.0.0 (945 KB)
05/05/2005: GLM 0.2.0.0 (194 KB)
02/21/2005: GLM 0.1.0.0 (29.2 KB) -
_________________

GLM - 7z files
08/01/2012: GLM 0.9.3.0 (2.8 MB) +
_________________

GLM - 7z files
09/01/2012: GLM 0.9.3.0 (2.8 MB)
12/12/2011: GLM 0.9.3.B (2.8 MB)
11/11/2011: GLM 0.9.3.A (2.8 MB)
24/10/2011: GLM 0.9.2.7 (2.1 MB) diff --git a/doc/glm-0.9.3.pdf b/doc/glm-0.9.3.pdf index c9c721b5..4766d06b 100644 Binary files a/doc/glm-0.9.3.pdf and b/doc/glm-0.9.3.pdf differ diff --git a/doc/image/0075-1.jpg b/doc/image/0075-1.jpg new file mode 100644 index 00000000..125ce06d Binary files /dev/null and b/doc/image/0075-1.jpg differ diff --git a/doc/index.html b/doc/index.html index 03f64ed4..99aa8927 100644 --- a/doc/index.html +++ b/doc/index.html @@ -36,24 +36,40 @@ Any feedback is welcome at glm@g-truc.net.


08/01/2012 - GLM 0.9.3.0 released

GLM 0.9.3.0 is finally released. Since the branch 0.9.2, the test bench and the Doxygen API documentation has been expend. -

+

Swizzle operators are a challenging task to implement but thanks to the effort of many contributors, GLM 0.9.3.0 provides finally something interesting even if not perfect but still a great improvement considering the incompatibilities with some external libraries. GLM 0.9.3 provides two implemetanations, one for C++ 98 compilers and one for C++ 11 compilers providing an implemetnation closer to what GLSL does. Indeed the C++ 98 implementation is compatible with C++ 11 compilers. -

Implementation for C++ 98 compilers
  • // To declare before including glm.hpp, to use the swizzle operators
  • #define GLM_SWIZZLE +

    Implementation for C++ 98 compilers:
    • // To declare before including glm.hpp, to use the swizzle operators
    • #define GLM_SWIZZLE
    • #include <glm/glm.hpp>
    • void example_cpp98()
    • {
    • - glm::vec4 a = glm::vec4(1, 0, 0, 0); + glm::vec4 a = glm::vec4(2, 0, 0, 0);
    • - glm::vec4 b = glm::vec4(0, 1, 0, 0); + glm::vec4 b = glm::vec4(0, 2, 0, 0);
    • - glm::vec3 c = a.zyx() + b.xyz(); + glm::vec3 c = (a.zyx() + b.xyz()) * 0.5f; +
    • + glm::vec2 d = glm::normalize(glm::vec2(c.yz())); +
    • + a.xyzw() = d.xyxy(); +
    • + } +
    Implementation for C++ 11 compilers:
    • // To declare before including glm.hpp, to use the swizzle operators
    • #define GLM_SWIZZLE +
    • #include <glm/glm.hpp>
    • void example_cpp98() +
    • + { +
    • + glm::vec4 a = glm::vec4(2, 0, 0, 0); +
    • + glm::vec4 b = glm::vec4(0, 2, 0, 0); +
    • + glm::vec3 c = (a.zyx() + b.xyz()) * 0.5f;
    • glm::vec2 d = glm::normalize(glm::vec2(c.yz));
    • - a.xy = d.xy; + a.xyzw = d.xyxy;
    • }
    Download: GLM 0.9.3.0 (zip)
    Download: GLM 0.9.3.0 (7z)
    Link: Submit a bug report
    Link: GLM 0.9.3 Manual
    Link: GLM 0.9.3 API

12/12/2011 - GLM 0.9.3 beta released

diff --git a/doc/src/data.xml b/doc/src/data.xml index be18d318..809c955a 100644 --- a/doc/src/data.xml +++ b/doc/src/data.xml @@ -3,7 +3,7 @@

- + @@ -73,7 +73,7 @@
- + @@ -175,12 +175,18 @@ GLM 0.9.3.0 is finally released. Since the branch 0.9.2, the test bench and the Doxygen API documentation has been expend. - Swizzle operators are a challenging task to implement but thanks to the effort of many contributors, GLM 0.9.3.0 provides finally something interesting even if - not perfect but still a great improvement considering the incompatibilities with some external libraries. GLM 0.9.3 provides two implemetanations, one for C++ 98 + For the feature set, the GLSL noise functions have been implemented and based on the implementation of webgl-noise. + Some users might prefer the promoted GLM_GTC_noise extension also based on webgl-noise but different interface and three noise methods: Perlin noise, periodic noise and simplex noise. + + + + + Finally, swizzle operators are a challenging task to implement but thanks to the effort of many contributors, GLM 0.9.3.0 provides finally something interesting even if + not perfect but still a great improvement considering the incompatibilities with some external libraries. GLM 0.9.3 provides two implemetanations, one for C++ 98 compilers and one for C++ 11 compilers providing an implemetnation closer to what GLSL does. Indeed the C++ 98 implementation is compatible with C++ 11 compilers. - - + + // To declare before including glm.hpp, to use the swizzle operators @@ -213,14 +219,14 @@ glm::vec2 d = glm::normalize(glm::vec2(c.yz())); - a.xyzw = d.xyxy; + a.xyzw() = d.xyxy(); } - + // To declare before including glm.hpp, to use the swizzle operators @@ -250,7 +256,7 @@ glm::vec3 c = (a.zyx() + b.xyz()) * 0.5f; - glm::vec2 d = glm::normalize(glm::vec2(c.yz())); + glm::vec2 d = glm::normalize(glm::vec2(c.yz)); a.xyzw = d.xyxy;