Preparing GLM 0.9.3 release

This commit is contained in:
Christophe Riccio
2012-01-09 00:26:47 +00:00
parent 1ed0e3865b
commit c3b722a733
7 changed files with 132 additions and 22 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="07/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="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.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="07/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="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.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"/>
@@ -170,11 +170,96 @@
</todo>
<page_news>
<news index="0075" date="07/01/2012" title="GLM 0.9.3.0 released" image="goodies/logo.png" image-mini="image/logo-mini.png">
<news index="0075" date="08/01/2012" title="GLM 0.9.3.0 released" image="goodies/logo.png" image-mini="image/logo-mini.png">
<paragraph>
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
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">
<line>
<comment>// To declare before including glm.hpp, to use the swizzle operators</comment>
</line>
<line>
<keyword>#define </keyword> GLM_SWIZZLE
</line>
<line>
<keyword>#include </keyword>
<string>&lt;glm/glm.hpp&gt;</string>
</line>
<line>
</line>
<line>
<keyword>void</keyword> example_cpp98()
</line>
<line>
{
</line>
<line align="32px">
glm::vec4 a = glm::vec4(2, 0, 0, 0);
</line>
<line align="32px">
glm::vec4 b = glm::vec4(0, 2, 0, 0);
</line>
<line align="32px">
glm::vec3 c = (a.zyx() + b.xyz()) * 0.5f;
</line>
<line align="32px">
glm::vec2 d = glm::normalize(glm::vec2(c.yz()));
</line>
<line align="32px">
a.xyzw = d.xyxy;
</line>
<line>
}
</line>
</code>
<code title="Implementation for C++ 11 compilers">
<line>
<comment>// To declare before including glm.hpp, to use the swizzle operators</comment>
</line>
<line>
<keyword>#define </keyword> GLM_SWIZZLE
</line>
<line>
<keyword>#include </keyword>
<string>&lt;glm/glm.hpp&gt;</string>
</line>
<line>
</line>
<line>
<keyword>void</keyword> example_cpp98()
</line>
<line>
{
</line>
<line align="32px">
glm::vec4 a = glm::vec4(2, 0, 0, 0);
</line>
<line align="32px">
glm::vec4 b = glm::vec4(0, 2, 0, 0);
</line>
<line align="32px">
glm::vec3 c = (a.zyx() + b.xyz()) * 0.5f;
</line>
<line align="32px">
glm::vec2 d = glm::normalize(glm::vec2(c.yz()));
</line>
<line align="32px">
a.xyzw = d.xyxy;
</line>
<line>
}
</line>
</code>
<source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.3.0/glm-0.9.3.0.zip/download">GLM 0.9.3.0 (zip)</source>
<source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.3.0/glm-0.9.3.0.7z/download">GLM 0.9.3.0 (7z)</source>
<source type="Link" href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</source>