Getting GLM 0.9.3.0 release ready

This commit is contained in:
Christophe Riccio
2012-01-09 18:36:34 +00:00
parent 241a0900ce
commit 6de0628bc9
5 changed files with 40 additions and 18 deletions

View File

@@ -3,7 +3,7 @@
<glm copyright="Copyright © 2005 - 2012">
<downloads>
<section name="GLM - zip files">
<download name="GLM 0.9.3.0" date="08/01/2012" size="4.3 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.3.0/glm-0.9.3.0.zip/download" />
<download name="GLM 0.9.3.0" date="09/01/2012" size="4.3 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.3.0/glm-0.9.3.0.zip/download" />
<download name="GLM 0.9.3.B" date="12/12/2011" size="4.3 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.3.B/glm-0.9.3.B.zip/download"/>
<download name="GLM 0.9.3.A" date="11/11/2011" size="4.3 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.3.A/glm-0.9.3.A.zip/download"/>
<download name="GLM 0.9.2.7" date="24/10/2011" size="3.4 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.2.7/glm-0.9.2.7.zip/download"/>
@@ -73,7 +73,7 @@
<download name="GLM 0.1.0.0" date="02/21/2005" size="29.2 KB" link="http://prdownloads.sourceforge.net/glf/glm-0.1-ur.zip?download"/>
</section>
<section name="GLM - 7z files">
<download name="GLM 0.9.3.0" date="08/01/2012" size="2.8 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.3.0/glm-0.9.3.0.7z/download"/>
<download name="GLM 0.9.3.0" date="09/01/2012" size="2.8 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.3.0/glm-0.9.3.0.7z/download"/>
<download name="GLM 0.9.3.B" date="12/12/2011" size="2.8 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.3.B/glm-0.9.3.B.7z/download"/>
<download name="GLM 0.9.3.A" date="11/11/2011" size="2.8 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.3.A/glm-0.9.3.A.7z/download"/>
<download name="GLM 0.9.2.7" date="24/10/2011" size="2.1 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.2.7/glm-0.9.2.7.7z/download"/>
@@ -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.
</paragraph>
<paragraph>
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 <link href="https://github.com/ashima/webgl-noise">webgl-noise</link>.
Some users might prefer the promoted GLM_GTC_noise extension also based on <link href="https://github.com/ashima/webgl-noise">webgl-noise</link> but different interface and three noise methods: Perlin noise, periodic noise and simplex noise.
</paragraph>
<image src="./image/0075-1.jpg" />
<paragraph>
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.
</paragraph>
<code title="Implementation for C++ 98 compilers">
<code title="Implementation for C++ 98 compilers:">
<line>
<comment>// To declare before including glm.hpp, to use the swizzle operators</comment>
</line>
@@ -213,14 +219,14 @@
glm::vec2 d = glm::normalize(glm::vec2(c.yz()));
</line>
<line align="32px">
a.xyzw = d.xyxy;
a.xyzw() = d.xyxy();
</line>
<line>
}
</line>
</code>
<code title="Implementation for C++ 11 compilers">
<code title="Implementation for C++ 11 compilers:">
<line>
<comment>// To declare before including glm.hpp, to use the swizzle operators</comment>
</line>
@@ -250,7 +256,7 @@
glm::vec3 c = (a.zyx() + b.xyz()) * 0.5f;
</line>
<line align="32px">
glm::vec2 d = glm::normalize(glm::vec2(c.yz()));
glm::vec2 d = glm::normalize(glm::vec2(c.yz));
</line>
<line align="32px">
a.xyzw = d.xyxy;