Browse Source

Merge branch 'noise' of ssh://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math into noise

Christophe Riccio 14 years ago
parent
commit
763699f528

+ 2 - 2
doc/about.html

@@ -11,8 +11,8 @@
           ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
           ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
           var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
           var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
           })();
           })();
-        </script></head><body><table><tr><td class="menu"><div class="menu1"><br /><div><a href="./goodies/logo1920x1200.png"><img class="menu-img" src="./common/logo.png" alt="GLM Logo" /></a></div><br /><div><a class="menu" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.1/glm-0.9.1.1.zip/download">
-			Download GLM 0.9.1.1</a></div></div><br /><div class="menu2"><a href="./index.html">Front page</a></div><div class="menu2"><a href="./download.html">Downloads</a></div><div class="menu2"><a href="http://www.opengl.org/sdk/libs/GLM/">OpenGL SDK page</a></div><br /><div class="menu2"><a href="./glm-0.9.1.pdf">GLM Manual</a></div><div class="menu2"><a href="./api-0.9.1/index.html">GLM API</a></div><div class="menu2"><a href="./code.html">Code samples</a></div><div class="menu2"><a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.10.6.clean.pdf">GLSL Specification</a></div><div class="menu2"><a href="http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=postlist&amp;Board=10&amp;page=1">OpenGL.org Toolkits forum</a></div><br /><div class="menu2"><a href="https://sourceforge.net/apps/trac/ogl-math/newticket">Report a bug</a></div><div class="menu2"><a href="https://sourceforge.net/projects/ogl-math/">SourceForge page</a></div><div class="menu2"><a href="http://www.g-truc.net/project-0016.html#menu">G-Truc Creation page</a></div><div class="menu2"><a href="http://ogl-math.git.sourceforge.net/git/gitweb.cgi?p=ogl-math/ogl-math;a=summary">Browse Git repository</a></div><div class="menu2"><a href="http://ogl-math.git.sourceforge.net/git/gitweb.cgi?p=ogl-math/ogl-math;a=snapshot;h=HEAD;sf=tgz">Source snapshot</a></div><br /><br /><div class="menu2"><a href="http://www.g-truc.net"><img class="menu-img" src="./common/g-truc.png" alt="G-Truc" /></a></div><br /></td><td class="page"><div class="title1"><img src="./common/title.png" alt="OpenGL Mathematics" /></div><div class="title3">GLSL + Optional features = OpenGL Mathematics (GLM).<br />A C++ mathematics library for 3D graphics.<br /></div><br /><br /><div><div class="title-date"> </div><div class="title4"> </div><div><p>
+        </script></head><body><table><tr><td class="menu"><div class="menu1"><br /><div><a href="./goodies/logo1920x1200.png"><img class="menu-img" src="./common/logo.png" alt="GLM Logo" /></a></div><br /><div><a class="menu" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.2/glm-0.9.1.2.zip/download">
+			Download GLM 0.9.1.2</a></div></div><br /><div class="menu2"><a href="./index.html">Front page</a></div><div class="menu2"><a href="./download.html">Downloads</a></div><div class="menu2"><a href="http://www.opengl.org/sdk/libs/GLM/">OpenGL SDK page</a></div><br /><div class="menu2"><a href="./glm-0.9.1.pdf">GLM Manual</a></div><div class="menu2"><a href="./api-0.9.1/index.html">GLM API</a></div><div class="menu2"><a href="./code.html">Code samples</a></div><div class="menu2"><a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.10.6.clean.pdf">GLSL Specification</a></div><div class="menu2"><a href="http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=postlist&amp;Board=10&amp;page=1">OpenGL.org Toolkits forum</a></div><br /><div class="menu2"><a href="https://sourceforge.net/apps/trac/ogl-math/newticket">Report a bug</a></div><div class="menu2"><a href="https://sourceforge.net/projects/ogl-math/">SourceForge page</a></div><div class="menu2"><a href="http://www.g-truc.net/project-0016.html#menu">G-Truc Creation page</a></div><div class="menu2"><a href="http://ogl-math.git.sourceforge.net/git/gitweb.cgi?p=ogl-math/ogl-math;a=summary">Browse Git repository</a></div><div class="menu2"><a href="http://ogl-math.git.sourceforge.net/git/gitweb.cgi?p=ogl-math/ogl-math;a=snapshot;h=HEAD;sf=tgz">Source snapshot</a></div><br /><br /><div class="menu2"><a href="http://www.g-truc.net"><img class="menu-img" src="./common/g-truc.png" alt="G-Truc" /></a></div><br /></td><td class="page"><div class="title1"><img src="./common/title.png" alt="OpenGL Mathematics" /></div><div class="title3">GLSL + Optional features = OpenGL Mathematics (GLM).<br />A C++ mathematics library for 3D graphics.<br /></div><br /><br /><div><div class="title-date"> </div><div class="title4"> </div><div><p>
 			OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software 
 			OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software 
 			based on the <a href="http://www.opengl.org/documentation/glsl/">OpenGL Shading Language (GLSL)</a> specification.
 			based on the <a href="http://www.opengl.org/documentation/glsl/">OpenGL Shading Language (GLSL)</a> specification.
 		</p><p>
 		</p><p>

File diff suppressed because it is too large
+ 0 - 1
doc/code.html


+ 7 - 5
doc/download.html

@@ -11,11 +11,12 @@
           ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
           ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
           var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
           var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
           })();
           })();
-        </script></head><body><table><tr><td class="menu"><div class="menu1"><br /><div><a href="./goodies/logo1920x1200.png"><img class="menu-img" src="./common/logo.png" alt="GLM Logo" /></a></div><br /><div><a class="menu" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.1/glm-0.9.1.1.zip/download">
-			Download GLM 0.9.1.1</a></div></div><br /><div class="menu2"><a href="./index.html">Front page</a></div><div class="menu2"><a href="./download.html">Downloads</a></div><div class="menu2"><a href="http://www.opengl.org/sdk/libs/GLM/">OpenGL SDK page</a></div><br /><div class="menu2"><a href="./glm-0.9.1.pdf">GLM Manual</a></div><div class="menu2"><a href="./api-0.9.1/index.html">GLM API</a></div><div class="menu2"><a href="./code.html">Code samples</a></div><div class="menu2"><a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.10.6.clean.pdf">GLSL Specification</a></div><div class="menu2"><a href="http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=postlist&amp;Board=10&amp;page=1">OpenGL.org Toolkits forum</a></div><br /><div class="menu2"><a href="https://sourceforge.net/apps/trac/ogl-math/newticket">Report a bug</a></div><div class="menu2"><a href="https://sourceforge.net/projects/ogl-math/">SourceForge page</a></div><div class="menu2"><a href="http://www.g-truc.net/project-0016.html#menu">G-Truc Creation page</a></div><div class="menu2"><a href="http://ogl-math.git.sourceforge.net/git/gitweb.cgi?p=ogl-math/ogl-math;a=summary">Browse Git repository</a></div><div class="menu2"><a href="http://ogl-math.git.sourceforge.net/git/gitweb.cgi?p=ogl-math/ogl-math;a=snapshot;h=HEAD;sf=tgz">Source snapshot</a></div><br /><br /><div class="menu2"><a href="http://www.g-truc.net"><img class="menu-img" src="./common/g-truc.png" alt="G-Truc" /></a></div><br /></td><td class="page"><div class="title1"><img src="./common/title.png" alt="OpenGL Mathematics" /></div><div class="title3">GLSL + Optional features = OpenGL Mathematics (GLM).<br />A C++ mathematics library for 3D graphics.<br /></div><br /><br /><div><div class="title4">Current release</div></div><div class="issue-content">17/03/2010:
-                <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.1/glm-0.9.1.1.zip/download">GLM 0.9.1.1</a>
+        </script></head><body><table><tr><td class="menu"><div class="menu1"><br /><div><a href="./goodies/logo1920x1200.png"><img class="menu-img" src="./common/logo.png" alt="GLM Logo" /></a></div><br /><div><a class="menu" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.2/glm-0.9.1.2.zip/download">
+			Download GLM 0.9.1.2</a></div></div><br /><div class="menu2"><a href="./index.html">Front page</a></div><div class="menu2"><a href="./download.html">Downloads</a></div><div class="menu2"><a href="http://www.opengl.org/sdk/libs/GLM/">OpenGL SDK page</a></div><br /><div class="menu2"><a href="./glm-0.9.1.pdf">GLM Manual</a></div><div class="menu2"><a href="./api-0.9.1/index.html">GLM API</a></div><div class="menu2"><a href="./code.html">Code samples</a></div><div class="menu2"><a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.10.6.clean.pdf">GLSL Specification</a></div><div class="menu2"><a href="http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=postlist&amp;Board=10&amp;page=1">OpenGL.org Toolkits forum</a></div><br /><div class="menu2"><a href="https://sourceforge.net/apps/trac/ogl-math/newticket">Report a bug</a></div><div class="menu2"><a href="https://sourceforge.net/projects/ogl-math/">SourceForge page</a></div><div class="menu2"><a href="http://www.g-truc.net/project-0016.html#menu">G-Truc Creation page</a></div><div class="menu2"><a href="http://ogl-math.git.sourceforge.net/git/gitweb.cgi?p=ogl-math/ogl-math;a=summary">Browse Git repository</a></div><div class="menu2"><a href="http://ogl-math.git.sourceforge.net/git/gitweb.cgi?p=ogl-math/ogl-math;a=snapshot;h=HEAD;sf=tgz">Source snapshot</a></div><br /><br /><div class="menu2"><a href="http://www.g-truc.net"><img class="menu-img" src="./common/g-truc.png" alt="G-Truc" /></a></div><br /></td><td class="page"><div class="title1"><img src="./common/title.png" alt="OpenGL Mathematics" /></div><div class="title3">GLSL + Optional features = OpenGL Mathematics (GLM).<br />A C++ mathematics library for 3D graphics.<br /></div><br /><br /><div><div class="title4">Current release</div></div><div class="issue-content">12/04/2010:
+                <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.2/glm-0.9.1.2.zip/download">GLM 0.9.1.2</a>
                 (3.4 MB)
                 (3.4 MB)
-              </div><div class="news-separator">_________________</div><br /><div><div class="title4">GLM - zip files</div><div class="issue-content">17/03/2010: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.1/glm-0.9.1.1.zip/download">GLM 0.9.1.1</a> (3.4 MB)
+              </div><div class="news-separator">_________________</div><br /><div><div class="title4">GLM - zip files</div><div class="issue-content">12/04/2010: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.2/glm-0.9.1.2.zip/download">GLM 0.9.1.2</a> (3.4 MB)
+    </div><div class="issue-content">17/03/2010: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.1/glm-0.9.1.1.zip/download">GLM 0.9.1.1</a> (3.4 MB)
     </div><div class="issue-content">03/03/2010: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.0/glm-0.9.1.0.zip/download">GLM 0.9.1.0</a> (3.4 MB)
     </div><div class="issue-content">03/03/2010: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.0/glm-0.9.1.0.zip/download">GLM 0.9.1.0</a> (3.4 MB)
     </div><div class="issue-content">13/02/2010: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.B/glm-0.9.1.B.zip/download">GLM 0.9.1.B</a> (3.4 MB)
     </div><div class="issue-content">13/02/2010: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.B/glm-0.9.1.B.zip/download">GLM 0.9.1.B</a> (3.4 MB)
     </div><div class="issue-content">13/02/2010: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.zip/download">GLM 0.9.0.8</a> (3.3 MB)
     </div><div class="issue-content">13/02/2010: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.zip/download">GLM 0.9.0.8</a> (3.3 MB)
@@ -70,7 +71,8 @@
     </div><div class="issue-content">02/19/2006: <a href="http://prdownloads.sourceforge.net/glf/glm-0.3.zip?download">GLM 0.3.0.0</a> (945 KB)
     </div><div class="issue-content">02/19/2006: <a href="http://prdownloads.sourceforge.net/glf/glm-0.3.zip?download">GLM 0.3.0.0</a> (945 KB)
     </div><div class="issue-content">05/05/2005: <a href="http://prdownloads.sourceforge.net/glf/glm-0.2.zip?download">GLM 0.2.0.0</a> (194 KB)
     </div><div class="issue-content">05/05/2005: <a href="http://prdownloads.sourceforge.net/glf/glm-0.2.zip?download">GLM 0.2.0.0</a> (194 KB)
     </div><div class="issue-content">02/21/2005: <a href="http://prdownloads.sourceforge.net/glf/glm-0.1-ur.zip?download">GLM 0.1.0.0</a> (29.2 KB)
     </div><div class="issue-content">02/21/2005: <a href="http://prdownloads.sourceforge.net/glf/glm-0.1-ur.zip?download">GLM 0.1.0.0</a> (29.2 KB)
-    </div></div><div class="news-separator">_________________</div><br /><div><div class="title4">GLM - 7z files</div><div class="issue-content">17/03/2011: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.1/glm-0.9.1.1.7z/download">GLM 0.9.1.1</a> (2.1 MB)
+    </div></div><div class="news-separator">_________________</div><br /><div><div class="title4">GLM - 7z files</div><div class="issue-content">12/04/2011: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.2/glm-0.9.1.2.7z/download">GLM 0.9.1.2</a> (2.1 MB)
+    </div><div class="issue-content">17/03/2011: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.1/glm-0.9.1.1.7z/download">GLM 0.9.1.1</a> (2.1 MB)
     </div><div class="issue-content">03/03/2011: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.0/glm-0.9.1.0.7z/download">GLM 0.9.1.0</a> (2.1 MB)
     </div><div class="issue-content">03/03/2011: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.0/glm-0.9.1.0.7z/download">GLM 0.9.1.0</a> (2.1 MB)
     </div><div class="issue-content">13/02/2011: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.B/glm-0.9.1.B.7z/download">GLM 0.9.1.B</a> (2.1 MB)
     </div><div class="issue-content">13/02/2011: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.B/glm-0.9.1.B.7z/download">GLM 0.9.1.B</a> (2.1 MB)
     </div><div class="issue-content">13/02/2011: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.7z/download">GLM 0.9.0.8</a> (1.9 MB)
     </div><div class="issue-content">13/02/2011: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.7z/download">GLM 0.9.0.8</a> (1.9 MB)

File diff suppressed because it is too large
+ 0 - 1
doc/goodies.html


+ 29 - 27
doc/index.html

@@ -11,8 +11,8 @@
           ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
           ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
           var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
           var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
           })();
           })();
-        </script></head><body><table><tr><td class="menu"><div class="menu1"><br /><div><a href="./goodies/logo1920x1200.png"><img class="menu-img" src="./common/logo.png" alt="GLM Logo" /></a></div><br /><div><a class="menu" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.1/glm-0.9.1.1.zip/download">
-			Download GLM 0.9.1.1</a></div></div><br /><div class="menu2"><a href="./index.html">Front page</a></div><div class="menu2"><a href="./download.html">Downloads</a></div><div class="menu2"><a href="http://www.opengl.org/sdk/libs/GLM/">OpenGL SDK page</a></div><br /><div class="menu2"><a href="./glm-0.9.1.pdf">GLM Manual</a></div><div class="menu2"><a href="./api-0.9.1/index.html">GLM API</a></div><div class="menu2"><a href="./code.html">Code samples</a></div><div class="menu2"><a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.10.6.clean.pdf">GLSL Specification</a></div><div class="menu2"><a href="http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=postlist&amp;Board=10&amp;page=1">OpenGL.org Toolkits forum</a></div><br /><div class="menu2"><a href="https://sourceforge.net/apps/trac/ogl-math/newticket">Report a bug</a></div><div class="menu2"><a href="https://sourceforge.net/projects/ogl-math/">SourceForge page</a></div><div class="menu2"><a href="http://www.g-truc.net/project-0016.html#menu">G-Truc Creation page</a></div><div class="menu2"><a href="http://ogl-math.git.sourceforge.net/git/gitweb.cgi?p=ogl-math/ogl-math;a=summary">Browse Git repository</a></div><div class="menu2"><a href="http://ogl-math.git.sourceforge.net/git/gitweb.cgi?p=ogl-math/ogl-math;a=snapshot;h=HEAD;sf=tgz">Source snapshot</a></div><br /><br /><div class="menu2"><a href="http://www.g-truc.net"><img class="menu-img" src="./common/g-truc.png" alt="G-Truc" /></a></div><br /></td><td class="page"><div class="title1"><img src="./common/title.png" alt="OpenGL Mathematics" /></div><div class="title3">GLSL + Optional features = OpenGL Mathematics (GLM).<br />A C++ mathematics library for 3D graphics.<br /></div><br /><br /><p>
+        </script></head><body><table><tr><td class="menu"><div class="menu1"><br /><div><a href="./goodies/logo1920x1200.png"><img class="menu-img" src="./common/logo.png" alt="GLM Logo" /></a></div><br /><div><a class="menu" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.2/glm-0.9.1.2.zip/download">
+			Download GLM 0.9.1.2</a></div></div><br /><div class="menu2"><a href="./index.html">Front page</a></div><div class="menu2"><a href="./download.html">Downloads</a></div><div class="menu2"><a href="http://www.opengl.org/sdk/libs/GLM/">OpenGL SDK page</a></div><br /><div class="menu2"><a href="./glm-0.9.1.pdf">GLM Manual</a></div><div class="menu2"><a href="./api-0.9.1/index.html">GLM API</a></div><div class="menu2"><a href="./code.html">Code samples</a></div><div class="menu2"><a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.10.6.clean.pdf">GLSL Specification</a></div><div class="menu2"><a href="http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=postlist&amp;Board=10&amp;page=1">OpenGL.org Toolkits forum</a></div><br /><div class="menu2"><a href="https://sourceforge.net/apps/trac/ogl-math/newticket">Report a bug</a></div><div class="menu2"><a href="https://sourceforge.net/projects/ogl-math/">SourceForge page</a></div><div class="menu2"><a href="http://www.g-truc.net/project-0016.html#menu">G-Truc Creation page</a></div><div class="menu2"><a href="http://ogl-math.git.sourceforge.net/git/gitweb.cgi?p=ogl-math/ogl-math;a=summary">Browse Git repository</a></div><div class="menu2"><a href="http://ogl-math.git.sourceforge.net/git/gitweb.cgi?p=ogl-math/ogl-math;a=snapshot;h=HEAD;sf=tgz">Source snapshot</a></div><br /><br /><div class="menu2"><a href="http://www.g-truc.net"><img class="menu-img" src="./common/g-truc.png" alt="G-Truc" /></a></div><br /></td><td class="page"><div class="title1"><img src="./common/title.png" alt="OpenGL Mathematics" /></div><div class="title3">GLSL + Optional features = OpenGL Mathematics (GLM).<br />A C++ mathematics library for 3D graphics.<br /></div><br /><br /><p>
 			OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software 
 			OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software 
 			based on the <a href="http://www.opengl.org/documentation/glsl/">OpenGL Shading Language (GLSL)</a> specification.
 			based on the <a href="http://www.opengl.org/documentation/glsl/">OpenGL Shading Language (GLSL)</a> specification.
 		</p><p>
 		</p><p>
@@ -32,31 +32,33 @@
 		</p><p>
 		</p><p>
 			Thanks for contributing to the project by <a href="https://sourceforge.net/apps/trac/ogl-math/newticket">submitting tickets</a> for bug reports and feature requests. (SF.net account required).
 			Thanks for contributing to the project by <a href="https://sourceforge.net/apps/trac/ogl-math/newticket">submitting tickets</a> for bug reports and feature requests. (SF.net account required).
 			Any feedback is welcome at [email protected].
 			Any feedback is welcome at [email protected].
-		</p><br /><div><h3>17/03/2011 - GLM 0.9.1.1 released</h3><div><p>
-		GLM 0.9.1.1 fixes some bugs, warnings on Clang C++ and clean up a bit the code.
-    </p><p>
-    	If you have uncounter any issue with GLM 0.9.1.0, please download this revision.
-    </p><p>
-    	Finally, the work has started for GLM 0.9.2 so if you have requests don't forget to <a href="https://sourceforge.net/apps/trac/ogl-math/newticket">submit them!</a></p>Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.1/glm-0.9.1.1.zip/download">GLM 0.9.1.1 (zip)</a><br />Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.1/glm-0.9.1.1.7z/download">GLM 0.9.1.1 (7z)</a><br />Link: <a href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</a><br /></div><br /></div><div><h3>03/03/2011 - GLM 0.9.1.0 final released</h3><div><p>
-			  Finally, GLM 0.9.1 branch is reaching the status of stable with
-			  <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.0/glm-0.9.1.0.zip/download">GLM 0.9.1.0</a>.
-		  </p><p>
-			  From GLM 0.9.1 beta, mainly bugs has been fixed. GLM has evolved on many sides since GLM 0.9.0:
-			  Improved documentation (manual and doxygen), better test framework, simplified setup/options/configration of GLM and new experimental SIMD API.
-		  </p><p>
-			  GLM 0.9.1.0 is not 100% backward compatile with 
-			  <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.zip/download">GLM 0.9.0.8</a>
-			  but mainly advanced usages should be affected by the differencies.
-			  Have a look at the <a href="http://glm.g-truc.net/glm-0.9.1.pdf">GLM manual</a> for more information on how to use GLM 0.9.1.
-		  </p>Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.0/glm-0.9.1.0.zip/download">GLM 0.9.1.0 (zip)</a><br />Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.0/glm-0.9.1.0.7z/download">GLM 0.9.1.0 (7z)</a><br />Link: <a href="http://glm.g-truc.net/glm-0.9.1.pdf">GLM 0.9.1 manual</a><br />Link: <a href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</a><br /></div><br /></div><div><h3>13/02/2011 - GLM 0.9.0.8 and GLM 0.9.1 beta released</h3><div><p>
-			The stable version, GLM 0.9.0.8, adds the operator * for quaternion products and deprecated the cross function previously used for the same purpose.
-			Also, it clarifies that GLM is a header only library when a user try to build it. Once more, there is nothing to build.
-		</p><p>
-			The development version, GLM 0.9.1 beta, provides an improved <a href="http://glm.g-truc.net/html-0.9.1/index.html">API documentation</a> by 
-			<a href="http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showprofile&amp;User=23530">Alfonse Reinheart</a>,
-			author of <a href="http://www.arcsynthesis.org/gltut/">a great OpenGL tutorial</a> which uses GLM. 
-			This version also improves the SIMD extensions and it fixes many bugs.
-		</p>Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.B/glm-0.9.1.B.zip/download">GLM 0.9.1.B (zip)</a><br />Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.B/glm-0.9.1.B.7z/download">GLM 0.9.1.B (7z)</a><br />Link: <a href="http://glm.g-truc.net/glm-0.9.1.pdf">GLM 0.9.1 manual</a><br />Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.zip/download">GLM 0.9.0.8 (zip)</a><br />Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.7z/download">GLM 0.9.0.8 (7z)</a><br />Link: <a href="http://glm.g-truc.net/glm-0.9.0.pdf">GLM 0.9.0 manual</a><br />Link: <a href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</a><br /></div><br /></div><div><h3>31/01/2011 - GLM 0.9.1 alpha released</h3><div><p>
+		</p><br /><div><h3>15/04/2011 - GLM 0.9.1.2 released</h3><div><p>
+        Bug fixes Only for GLM 0.9.1.2.
+      </p>Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.2/glm-0.9.1.2.zip/download">GLM 0.9.1.2 (zip)</a><br />Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.2/glm-0.9.1.2.7z/download">GLM 0.9.1.2 (7z)</a><br />Link: <a href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</a><br /></div><br /></div><div><h3>17/03/2011 - GLM 0.9.1.1 released</h3><div><p>
+        GLM 0.9.1.1 fixes some bugs, warnings on Clang C++ and clean up a bit the code.
+      </p><p>
+        If you have uncounter any issue with GLM 0.9.1.0, please download this revision.
+      </p><p>
+        Finally, the work has started for GLM 0.9.2 so if you have requests don't forget to <a href="https://sourceforge.net/apps/trac/ogl-math/newticket">submit them!</a></p>Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.1/glm-0.9.1.1.zip/download">GLM 0.9.1.1 (zip)</a><br />Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.1/glm-0.9.1.1.7z/download">GLM 0.9.1.1 (7z)</a><br />Link: <a href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</a><br /></div><br /></div><div><h3>03/03/2011 - GLM 0.9.1.0 final released</h3><div><p>
+        Finally, GLM 0.9.1 branch is reaching the status of stable with
+        <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.0/glm-0.9.1.0.zip/download">GLM 0.9.1.0</a>.
+      </p><p>
+        From GLM 0.9.1 beta, mainly bugs has been fixed. GLM has evolved on many sides since GLM 0.9.0:
+        Improved documentation (manual and doxygen), better test framework, simplified setup/options/configration of GLM and new experimental SIMD API.
+      </p><p>
+        GLM 0.9.1.0 is not 100% backward compatile with
+        <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.zip/download">GLM 0.9.0.8</a>
+        but mainly advanced usages should be affected by the differencies.
+        Have a look at the <a href="http://glm.g-truc.net/glm-0.9.1.pdf">GLM manual</a> for more information on how to use GLM 0.9.1.
+      </p>Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.0/glm-0.9.1.0.zip/download">GLM 0.9.1.0 (zip)</a><br />Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.0/glm-0.9.1.0.7z/download">GLM 0.9.1.0 (7z)</a><br />Link: <a href="http://glm.g-truc.net/glm-0.9.1.pdf">GLM 0.9.1 manual</a><br />Link: <a href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</a><br /></div><br /></div><div><h3>13/02/2011 - GLM 0.9.0.8 and GLM 0.9.1 beta released</h3><div><p>
+        The stable version, GLM 0.9.0.8, adds the operator * for quaternion products and deprecated the cross function previously used for the same purpose.
+        Also, it clarifies that GLM is a header only library when a user try to build it. Once more, there is nothing to build.
+      </p><p>
+        The development version, GLM 0.9.1 beta, provides an improved <a href="http://glm.g-truc.net/html-0.9.1/index.html">API documentation</a> by
+        <a href="http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showprofile&amp;User=23530">Alfonse Reinheart</a>,
+        author of <a href="http://www.arcsynthesis.org/gltut/">a great OpenGL tutorial</a> which uses GLM.
+        This version also improves the SIMD extensions and it fixes many bugs.
+      </p>Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.B/glm-0.9.1.B.zip/download">GLM 0.9.1.B (zip)</a><br />Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.B/glm-0.9.1.B.7z/download">GLM 0.9.1.B (7z)</a><br />Link: <a href="http://glm.g-truc.net/glm-0.9.1.pdf">GLM 0.9.1 manual</a><br />Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.zip/download">GLM 0.9.0.8 (zip)</a><br />Download: <a href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.7z/download">GLM 0.9.0.8 (7z)</a><br />Link: <a href="http://glm.g-truc.net/glm-0.9.0.pdf">GLM 0.9.0 manual</a><br />Link: <a href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</a><br /></div><br /></div><div><h3>31/01/2011 - GLM 0.9.1 alpha released</h3><div><p>
         This new version of GLM is bringing a lot of improvements and maybe too many considering the development time it has required:
         This new version of GLM is bringing a lot of improvements and maybe too many considering the development time it has required:
         API exposing SIMD implementation but also some new, safe and feature complet swizzling functions and a new setup API.
         API exposing SIMD implementation but also some new, safe and feature complet swizzling functions and a new setup API.
         All this is described in the largely updated <a href="http://glm.g-truc.net/glm-0.9.1.pdf">GLM manual</a>.
         All this is described in the largely updated <a href="http://glm.g-truc.net/glm-0.9.1.pdf">GLM manual</a>.

+ 62 - 62
doc/src/data.xml

@@ -152,74 +152,74 @@
   </todo>
   </todo>
 
 
   <page_news>
   <page_news>
-      <news index="0063" date="12/04/2011" title="GLM 0.9.1.2 released" image="goodies/logo.png" image-mini="image/logo-mini.png">
-          <paragraph>
-              Only bug fixes for GLM 0.9.1.2.
-          </paragraph>
-          
-          <source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.2/glm-0.9.1.2.zip/download">GLM 0.9.1.2 (zip)</source>
-          <source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.2/glm-0.9.1.2.7z/download">GLM 0.9.1.2 (7z)</source>
-          <source type="Link" href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</source>
-      </news>
-      
-      <news index="0062" date="17/03/2011" title="GLM 0.9.1.1 released" image="goodies/logo.png" image-mini="image/logo-mini.png">
-    <paragraph>
-		GLM 0.9.1.1 fixes some bugs, warnings on Clang C++ and clean up a bit the code.
-    </paragraph>
-    <paragraph>
-    	If you have uncounter any issue with GLM 0.9.1.0, please download this revision.
-    </paragraph>
-    <paragraph>
-    	Finally, the work has started for GLM 0.9.2 so if you have requests don't forget to <link href="https://sourceforge.net/apps/trac/ogl-math/newticket">submit them!</link>
-    </paragraph>
+    <news index="0063" date="15/04/2011" title="GLM 0.9.1.2 released" image="goodies/logo.png" image-mini="image/logo-mini.png">
+      <paragraph>
+        Bug fixes Only for GLM 0.9.1.2.
+      </paragraph>
+
+      <source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.2/glm-0.9.1.2.zip/download">GLM 0.9.1.2 (zip)</source>
+      <source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.2/glm-0.9.1.2.7z/download">GLM 0.9.1.2 (7z)</source>
+      <source type="Link" href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</source>
+    </news>
+
+    <news index="0062" date="17/03/2011" title="GLM 0.9.1.1 released" image="goodies/logo.png" image-mini="image/logo-mini.png">
+      <paragraph>
+        GLM 0.9.1.1 fixes some bugs, warnings on Clang C++ and clean up a bit the code.
+      </paragraph>
+      <paragraph>
+        If you have uncounter any issue with GLM 0.9.1.0, please download this revision.
+      </paragraph>
+      <paragraph>
+        Finally, the work has started for GLM 0.9.2 so if you have requests don't forget to <link href="https://sourceforge.net/apps/trac/ogl-math/newticket">submit them!</link>
+      </paragraph>
 
 
       <source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.1/glm-0.9.1.1.zip/download">GLM 0.9.1.1 (zip)</source>
       <source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.1/glm-0.9.1.1.zip/download">GLM 0.9.1.1 (zip)</source>
       <source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.1/glm-0.9.1.1.7z/download">GLM 0.9.1.1 (7z)</source>
       <source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.1/glm-0.9.1.1.7z/download">GLM 0.9.1.1 (7z)</source>
       <source type="Link" href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</source>
       <source type="Link" href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</source>
     </news>
     </news>
-    
-	  <news index="0061" date="03/03/2011" title="GLM 0.9.1.0 final released" image="goodies/logo.png" image-mini="image/logo-mini.png">
-		  <paragraph>
-			  Finally, GLM 0.9.1 branch is reaching the status of stable with
-			  <link href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.0/glm-0.9.1.0.zip/download">GLM 0.9.1.0</link>.
-		  </paragraph>
-		  <paragraph>
-			  From GLM 0.9.1 beta, mainly bugs has been fixed. GLM has evolved on many sides since GLM 0.9.0:
-			  Improved documentation (manual and doxygen), better test framework, simplified setup/options/configration of GLM and new experimental SIMD API.
-		  </paragraph>
-		  <paragraph>
-			  GLM 0.9.1.0 is not 100% backward compatile with 
-			  <link href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.zip/download">GLM 0.9.0.8</link>
-			  but mainly advanced usages should be affected by the differencies.
-			  Have a look at the <link href="http://glm.g-truc.net/glm-0.9.1.pdf">GLM manual</link> for more information on how to use GLM 0.9.1.
-		  </paragraph>
-
-		  <source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.0/glm-0.9.1.0.zip/download">GLM 0.9.1.0 (zip)</source>
-		  <source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.0/glm-0.9.1.0.7z/download">GLM 0.9.1.0 (7z)</source>
-		  <source type="Link" href="http://glm.g-truc.net/glm-0.9.1.pdf">GLM 0.9.1 manual</source>
-		  <source type="Link" href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</source>
-	  </news>
-
-	<news index="0060" date="13/02/2011" title="GLM 0.9.0.8 and GLM 0.9.1 beta released" image="goodies/logo.png" image-mini="image/logo-mini.png">
-		<paragraph>
-			The stable version, GLM 0.9.0.8, adds the operator * for quaternion products and deprecated the cross function previously used for the same purpose.
-			Also, it clarifies that GLM is a header only library when a user try to build it. Once more, there is nothing to build.
-		</paragraph>
-		<paragraph>
-			The development version, GLM 0.9.1 beta, provides an improved <link href="http://glm.g-truc.net/html-0.9.1/index.html">API documentation</link> by 
-			<link href="http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showprofile&amp;User=23530">Alfonse Reinheart</link>,
-			author of <link href="http://www.arcsynthesis.org/gltut/">a great OpenGL tutorial</link> which uses GLM. 
-			This version also improves the SIMD extensions and it fixes many bugs.
-		</paragraph>
 
 
-		<source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.B/glm-0.9.1.B.zip/download">GLM 0.9.1.B (zip)</source>
-		<source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.B/glm-0.9.1.B.7z/download">GLM 0.9.1.B (7z)</source>
-		<source type="Link" href="http://glm.g-truc.net/glm-0.9.1.pdf">GLM 0.9.1 manual</source>
-		<source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.zip/download">GLM 0.9.0.8 (zip)</source>
-		<source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.7z/download">GLM 0.9.0.8 (7z)</source>
-		<source type="Link" href="http://glm.g-truc.net/glm-0.9.0.pdf">GLM 0.9.0 manual</source>
-		<source type="Link" href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</source>
-	</news>
+    <news index="0061" date="03/03/2011" title="GLM 0.9.1.0 final released" image="goodies/logo.png" image-mini="image/logo-mini.png">
+      <paragraph>
+        Finally, GLM 0.9.1 branch is reaching the status of stable with
+        <link href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.0/glm-0.9.1.0.zip/download">GLM 0.9.1.0</link>.
+      </paragraph>
+      <paragraph>
+        From GLM 0.9.1 beta, mainly bugs has been fixed. GLM has evolved on many sides since GLM 0.9.0:
+        Improved documentation (manual and doxygen), better test framework, simplified setup/options/configration of GLM and new experimental SIMD API.
+      </paragraph>
+      <paragraph>
+        GLM 0.9.1.0 is not 100% backward compatile with
+        <link href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.zip/download">GLM 0.9.0.8</link>
+        but mainly advanced usages should be affected by the differencies.
+        Have a look at the <link href="http://glm.g-truc.net/glm-0.9.1.pdf">GLM manual</link> for more information on how to use GLM 0.9.1.
+      </paragraph>
+
+      <source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.0/glm-0.9.1.0.zip/download">GLM 0.9.1.0 (zip)</source>
+      <source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.0/glm-0.9.1.0.7z/download">GLM 0.9.1.0 (7z)</source>
+      <source type="Link" href="http://glm.g-truc.net/glm-0.9.1.pdf">GLM 0.9.1 manual</source>
+      <source type="Link" href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</source>
+    </news>
+
+    <news index="0060" date="13/02/2011" title="GLM 0.9.0.8 and GLM 0.9.1 beta released" image="goodies/logo.png" image-mini="image/logo-mini.png">
+      <paragraph>
+        The stable version, GLM 0.9.0.8, adds the operator * for quaternion products and deprecated the cross function previously used for the same purpose.
+        Also, it clarifies that GLM is a header only library when a user try to build it. Once more, there is nothing to build.
+      </paragraph>
+      <paragraph>
+        The development version, GLM 0.9.1 beta, provides an improved <link href="http://glm.g-truc.net/html-0.9.1/index.html">API documentation</link> by
+        <link href="http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showprofile&amp;User=23530">Alfonse Reinheart</link>,
+        author of <link href="http://www.arcsynthesis.org/gltut/">a great OpenGL tutorial</link> which uses GLM.
+        This version also improves the SIMD extensions and it fixes many bugs.
+      </paragraph>
+
+      <source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.B/glm-0.9.1.B.zip/download">GLM 0.9.1.B (zip)</source>
+      <source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.B/glm-0.9.1.B.7z/download">GLM 0.9.1.B (7z)</source>
+      <source type="Link" href="http://glm.g-truc.net/glm-0.9.1.pdf">GLM 0.9.1 manual</source>
+      <source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.zip/download">GLM 0.9.0.8 (zip)</source>
+      <source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.7z/download">GLM 0.9.0.8 (7z)</source>
+      <source type="Link" href="http://glm.g-truc.net/glm-0.9.0.pdf">GLM 0.9.0 manual</source>
+      <source type="Link" href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</source>
+    </news>
 
 
     <news index="0059" date="31/01/2011" title="GLM 0.9.1 alpha released" image="goodies/logo.png" image-mini="image/logo-mini.png">
     <news index="0059" date="31/01/2011" title="GLM 0.9.1 alpha released" image="goodies/logo.png" image-mini="image/logo-mini.png">
       <paragraph>
       <paragraph>

+ 1 - 1
glm/core/func_matrix.inl

@@ -466,8 +466,8 @@ namespace glm
 
 
 		detail::tmat2x2<T> Inverse(
 		detail::tmat2x2<T> Inverse(
 			+ m[1][1] / Determinant,
 			+ m[1][1] / Determinant,
-			- m[1][0] / Determinant,
 			- m[0][1] / Determinant, 
 			- m[0][1] / Determinant, 
+			- m[1][0] / Determinant,
 			+ m[0][0] / Determinant);
 			+ m[0][0] / Determinant);
 
 
 		return Inverse;
 		return Inverse;

+ 1 - 1
glm/gtx/simd_vec4.inl

@@ -275,7 +275,7 @@ namespace glm
 			detail::fvec4SIMD const & x
 			detail::fvec4SIMD const & x
 		)
 		)
 		{
 		{
-			GLM_ALIGN(4) detail::tvec4<float> Result;
+			GLM_ALIGN(16) detail::tvec4<float> Result;
 			_mm_store_ps(&Result[0], x.Data);
 			_mm_store_ps(&Result[0], x.Data);
 			return Result;
 			return Result;
 		}
 		}

+ 1 - 1
readme.txt

@@ -14,7 +14,7 @@ More informations in GLM manual:
 http://glm.g-truc.net/glm-0.9.1.pdf
 http://glm.g-truc.net/glm-0.9.1.pdf
 
 
 ================================================================================
 ================================================================================
-GLM 0.9.1.2: 2010-04-12
+GLM 0.9.1.2: 2010-04-15
 --------------------------------------------------------------------------------
 --------------------------------------------------------------------------------
 - Fixed bugs
 - Fixed bugs
 
 

+ 37 - 103
test/core/core_func_matrix.cpp

@@ -4,145 +4,79 @@
 // Created : 2011-01-15
 // Created : 2011-01-15
 // Updated : 2011-01-15
 // Updated : 2011-01-15
 // Licence : This source is under MIT licence
 // Licence : This source is under MIT licence
-// File    : test/gtx/simd-mat4.cpp
+// File    : test/core/func_matrix.cpp
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 
 
-#define GLM_INSTRUCTION_SET GLM_PLATFORM_SSE3 | GLM_PLATFORM_SSE2
 #include <glm/glm.hpp>
 #include <glm/glm.hpp>
 
 
-int test_static_assert()
+int test_matrixCompMult()
 {
 {
-	//glm::lessThan(glm::mat4(0), glm::mat4(4));
 
 
-	return 0;
-}
-
-int test_lessThan_vec2()
-{
-	glm::bvec2 O = glm::bvec2(true, false);
-
-	glm::bvec2 A = glm::lessThan(glm::vec2(0, 6), glm::vec2(4, 2));
-	assert(glm::all(glm::equal(O, A)));
-
-	glm::bvec2 B = glm::lessThan(glm::ivec2(0, 6), glm::ivec2(4, 2));
-	assert(glm::all(glm::equal(O, B)));
-
-	glm::bvec2 C = glm::lessThan(glm::uvec2(0, 6), glm::uvec2(4, 2));
-	assert(glm::all(glm::equal(O, C)));
-
-	return 0;
-}
-
-int test_lessThan_vec3()
-{
-	glm::bvec3 O = glm::bvec3(true, true, false);
-
-	glm::bvec3 A = glm::lessThan(glm::vec3(0, 1, 6), glm::vec3(4, 5, 2));
-	assert(glm::all(glm::equal(O, A)));
-
-	glm::bvec3 B = glm::lessThan(glm::ivec3(0, 1, 6), glm::ivec3(4, 5, 2));
-	assert(glm::all(glm::equal(O, B)));
-
-	glm::bvec3 C = glm::lessThan(glm::uvec3(0, 1, 6), glm::uvec3(4, 5, 2));
-	assert(glm::all(glm::equal(O, C)));
-
-	return 0;
-}
-
-int test_lessThan_vec4()
-{
-	glm::bvec4 O = glm::bvec4(true, true, false, false);
-
-	glm::bvec4 A = glm::lessThan(glm::vec4(0, 1, 6, 7), glm::vec4(4, 5, 2, 3));
-	assert(glm::all(glm::equal(O, A)));
-
-	glm::bvec4 B = glm::lessThan(glm::ivec4(0, 1, 6, 7), glm::ivec4(4, 5, 2, 3));
-	assert(glm::all(glm::equal(O, B)));
-
-	glm::bvec4 C = glm::lessThan(glm::uvec4(0, 1, 6, 7), glm::uvec4(4, 5, 2, 3));
-	assert(glm::all(glm::equal(O, C)));
 
 
 	return 0;
 	return 0;
 }
 }
 
 
-int test_greaterThanEqual_vec2()
+int test_outerProduct()
 {
 {
-	glm::bvec2 O = glm::bvec2(false, true);
-
-	glm::bvec2 A = glm::greaterThanEqual(glm::vec2(0, 6), glm::vec2(4, 2));
-	assert(glm::all(glm::equal(O, A)));
 
 
-	glm::bvec2 B = glm::greaterThanEqual(glm::ivec2(0, 6), glm::ivec2(4, 2));
-	assert(glm::all(glm::equal(O, B)));
-
-	glm::bvec2 C = glm::greaterThanEqual(glm::uvec2(0, 6), glm::uvec2(4, 2));
-	assert(glm::all(glm::equal(O, C)));
 
 
 	return 0;
 	return 0;
 }
 }
 
 
-int test_greaterThanEqual_vec3()
+int test_transpose()
 {
 {
-	glm::bvec3 O = glm::bvec3(false, false, true);
-
-	glm::bvec3 A = glm::greaterThanEqual(glm::vec3(0, 1, 6), glm::vec3(4, 5, 2));
-	assert(glm::all(glm::equal(O, A)));
 
 
-	glm::bvec3 B = glm::greaterThanEqual(glm::ivec3(0, 1, 6), glm::ivec3(4, 5, 2));
-	assert(glm::all(glm::equal(O, B)));
-
-	glm::bvec3 C = glm::greaterThanEqual(glm::uvec3(0, 1, 6), glm::uvec3(4, 5, 2));
-	assert(glm::all(glm::equal(O, C)));
 
 
 	return 0;
 	return 0;
 }
 }
 
 
-int test_greaterThanEqual_vec4()
+int test_determinant()
 {
 {
-	glm::bvec4 O = glm::bvec4(false, false, true, true);
-
-	glm::bvec4 A = glm::greaterThanEqual(glm::vec4(0, 1, 6, 7), glm::vec4(4, 5, 2, 3));
-	assert(glm::all(glm::equal(O, A)));
 
 
-	glm::bvec4 B = glm::greaterThanEqual(glm::ivec4(0, 1, 6, 7), glm::ivec4(4, 5, 2, 3));
-	assert(glm::all(glm::equal(O, B)));
-
-	glm::bvec4 C = glm::greaterThanEqual(glm::uvec4(0, 1, 6, 7), glm::uvec4(4, 5, 2, 3));
-	assert(glm::all(glm::equal(O, C)));
 
 
 	return 0;
 	return 0;
 }
 }
 
 
-int test_all()
+int test_inverse()
 {
 {
-	assert(glm::all(glm::bvec2(true, true)));
-	assert(!glm::all(glm::bvec2(true, false)));
-	assert(!glm::all(glm::bvec2(false, false)));
-
-	assert(glm::all(glm::bvec3(true, true, true)));
-	assert(!glm::all(glm::bvec3(true, false, true)));
-	assert(!glm::all(glm::bvec3(false, false, false)));
+	int Failed(0);
+
+	glm::mat4x4 A4x4(
+		glm::vec4(1, 0, 1, 0), 
+		glm::vec4(0, 1, 0, 0), 
+		glm::vec4(0, 0, 1, 0), 
+		glm::vec4(0, 0, 0, 1));
+	glm::mat4x4 B4x4 = glm::inverse(A4x4);
+	glm::mat4x4 I4x4 = A4x4 * B4x4;
+	Failed += I4x4 == glm::mat4x4(1) ? 0 : 1;
+
+	glm::mat3x3 A3x3(
+		glm::vec3(1, 0, 1), 
+		glm::vec3(0, 1, 0), 
+		glm::vec3(0, 0, 1));
+	glm::mat3x3 B3x3 = glm::inverse(A3x3);
+	glm::mat3x3 I3x3 = A3x3 * B3x3;
+	Failed += I3x3 == glm::mat3x3(1) ? 0 : 1;
+
+	glm::mat2x2 A2x2(
+		glm::vec2(1, 1), 
+		glm::vec2(0, 1));
+	glm::mat2x2 B2x2 = glm::inverse(A2x2);
+	glm::mat2x2 I2x2 = A2x2 * B2x2;
+	Failed += I2x2 == glm::mat2x2(1) ? 0 : 1;
 
 
-	assert(glm::all(glm::bvec4(true, true, true, true)));
-	assert(!glm::all(glm::bvec4(true, false, true, false)));
-	assert(!glm::all(glm::bvec4(false, false, false, false)));
-
-	return 0;
+	return Failed;
 }
 }
 
 
 
 
 int main()
 int main()
 {
 {
 	int Failed = 0;
 	int Failed = 0;
-	Failed += test_static_assert();
-	Failed += test_lessThan_vec2();
-	Failed += test_lessThan_vec3();
-	Failed += test_lessThan_vec4();
-	Failed += test_greaterThanEqual_vec2();
-	Failed += test_greaterThanEqual_vec3();
-	Failed += test_greaterThanEqual_vec4();
-	Failed += test_all();
-
+	Failed += test_matrixCompMult();
+	Failed += test_outerProduct();
+	Failed += test_transpose();
+	Failed += test_determinant();
+	Failed += test_inverse();
 	return Failed;
 	return Failed;
 }
 }
 
 

+ 5 - 6
test/core/core_type_mat2x2.cpp

@@ -9,7 +9,7 @@
 
 
 #include <glm/glm.hpp>
 #include <glm/glm.hpp>
 
 
-static bool test_operators()
+static int test_operators()
 {
 {
 	glm::mat2x2 m(1.0f);
 	glm::mat2x2 m(1.0f);
 	glm::vec2 u(1.0f);
 	glm::vec2 u(1.0f);
@@ -24,15 +24,14 @@ static bool test_operators()
 	bool R = m != q;
 	bool R = m != q;
 	bool S = m == m;
 	bool S = m == m;
 
 
-	return true;
+	return (S && !R) ? 0 : 1;
 }
 }
 
 
 int main()
 int main()
 {
 {
-	bool Result = true;
+	int Error = 0;
 
 
-	Result = Result && test_operators();
+	Error += test_operators();
 
 
-	assert(Result);
-	return Result;
+	return Error;
 }
 }

+ 5 - 6
test/core/core_type_mat2x3.cpp

@@ -9,7 +9,7 @@
 
 
 #include <glm/glm.hpp>
 #include <glm/glm.hpp>
 
 
-static bool test_operators()
+static int test_operators()
 {
 {
 	glm::mat2x3 m(1.0f);
 	glm::mat2x3 m(1.0f);
 	glm::vec2 u(1.0f);
 	glm::vec2 u(1.0f);
@@ -24,15 +24,14 @@ static bool test_operators()
 	bool R = m != q;
 	bool R = m != q;
 	bool S = m == m;
 	bool S = m == m;
 
 
-	return true;
+	return (S && !R) ? 0 : 1;
 }
 }
 
 
 int main()
 int main()
 {
 {
-	bool Result = true;
+	int Error = 0;
 
 
-	Result = Result && test_operators();
+	Error += test_operators();
 
 
-	assert(Result);
-	return Result;
+	return Error;
 }
 }

+ 6 - 6
test/core/core_type_mat2x4.cpp

@@ -9,7 +9,7 @@
 
 
 #include <glm/glm.hpp>
 #include <glm/glm.hpp>
 
 
-static bool test_operators()
+static int test_operators()
 {
 {
 	glm::mat2x4 m(1.0f);
 	glm::mat2x4 m(1.0f);
 	glm::vec2 u(1.0f);
 	glm::vec2 u(1.0f);
@@ -24,17 +24,17 @@ static bool test_operators()
 	bool R = m != q;
 	bool R = m != q;
 	bool S = m == m;
 	bool S = m == m;
 
 
-	return true;
+	return (S && !R) ? 0 : 1;
 }
 }
 
 
 int main()
 int main()
 {
 {
-	bool Result = true;
+	int Error = 0;
 
 
-	Result = Result && test_operators();
+	Error += test_operators();
 
 
-	assert(Result);
-	return Result;
+	return Error;
 }
 }
 
 
 
 
+

+ 5 - 5
test/core/core_type_mat3x2.cpp

@@ -24,16 +24,16 @@ static bool test_operators()
 	bool R = m != q;
 	bool R = m != q;
 	bool S = m == m;
 	bool S = m == m;
 
 
-	return true;
+	return (S && !R) ? 0 : 1;
 }
 }
 
 
 int main()
 int main()
 {
 {
-	bool Result = true;
+	int Error = 0;
 
 
-	Result = Result && test_operators();
+	Error += test_operators();
 
 
-	assert(Result);
-	return Result;
+	return Error;
 }
 }
 
 
+

+ 8 - 9
test/core/core_type_mat3x3.cpp

@@ -18,7 +18,7 @@ void print(glm::dmat3 const & Mat0)
 	printf("\tvec3(%2.3f, %2.3f, %2.3f))\n\n", Mat0[2][0], Mat0[2][1], Mat0[2][2]);
 	printf("\tvec3(%2.3f, %2.3f, %2.3f))\n\n", Mat0[2][0], Mat0[2][1], Mat0[2][2]);
 }
 }
 
 
-bool test_mat3x3()
+int test_mat3x3()
 {
 {
 	glm::dmat3 Mat0(
 	glm::dmat3 Mat0(
 		glm::dvec3(0.6f, 0.2f, 0.3f), 
 		glm::dvec3(0.6f, 0.2f, 0.3f), 
@@ -31,10 +31,10 @@ bool test_mat3x3()
 	print(Inv0);
 	print(Inv0);
 	print(Res0);
 	print(Res0);
 
 
-	return true;
+	return 0;
 }
 }
 
 
-static bool test_operators()
+static int test_operators()
 {
 {
 	glm::mat3x3 m(1.0f);
 	glm::mat3x3 m(1.0f);
 	glm::vec3 u(1.0f);
 	glm::vec3 u(1.0f);
@@ -49,17 +49,16 @@ static bool test_operators()
 	bool R = m != q;
 	bool R = m != q;
 	bool S = m == m;
 	bool S = m == m;
 
 
-	return true;
+	return (S && !R) ? 0 : 1;
 }
 }
 
 
 int main()
 int main()
 {
 {
-	bool Result = true;
+	int Error = 0;
 
 
-	Result = Result && test_mat3x3();
-	Result = Result && test_operators();
+	Error += test_mat3x3();
+	Error += test_operators();
 
 
-	assert(Result);
-	return Result;
+	return Error;
 }
 }
 
 

+ 4 - 5
test/core/core_type_mat3x4.cpp

@@ -24,16 +24,15 @@ static bool test_operators()
 	bool R = m != q;
 	bool R = m != q;
 	bool S = m == m;
 	bool S = m == m;
 
 
-	return true;
+	return (S && !R) ? 0 : 1;
 }
 }
 
 
 int main()
 int main()
 {
 {
-	bool Result = true;
+	int Error = 0;
 
 
-	Result = Result && test_operators();
+	Error += test_operators();
 
 
-	assert(Result);
-	return Result;
+	return Error;
 }
 }
 
 

+ 5 - 6
test/core/core_type_mat4x2.cpp

@@ -9,7 +9,7 @@
 
 
 #include <glm/glm.hpp>
 #include <glm/glm.hpp>
 
 
-static bool test_operators()
+static int test_operators()
 {
 {
 	glm::mat4x2 m(1.0f);
 	glm::mat4x2 m(1.0f);
 	glm::vec4 u(1.0f);
 	glm::vec4 u(1.0f);
@@ -24,16 +24,15 @@ static bool test_operators()
 	bool R = m != q;
 	bool R = m != q;
 	bool S = m == m;
 	bool S = m == m;
 
 
-	return true;
+	return (S && !R) ? 0 : 1;
 }
 }
 
 
 int main()
 int main()
 {
 {
-	bool Result = true;
+	int Error = 0;
 
 
-	Result = Result && test_operators();
+	Error += test_operators();
 
 
-	assert(Result);
-	return Result;
+	return Error;
 }
 }
 
 

+ 5 - 6
test/core/core_type_mat4x3.cpp

@@ -9,7 +9,7 @@
 
 
 #include <glm/glm.hpp>
 #include <glm/glm.hpp>
 
 
-static bool test_operators()
+static int test_operators()
 {
 {
 	glm::mat4x3 m(1.0f);
 	glm::mat4x3 m(1.0f);
 	glm::vec4 u(1.0f);
 	glm::vec4 u(1.0f);
@@ -24,17 +24,16 @@ static bool test_operators()
 	bool R = m != q;
 	bool R = m != q;
 	bool S = m == m;
 	bool S = m == m;
 
 
-	return true;
+	return (S && !R) ? 0 : 1;
 }
 }
 
 
 int main()
 int main()
 {
 {
-	bool Result = true;
+	int Error = 0;
 
 
-	Result = Result && test_operators();
+	Error += test_operators();
 
 
-	assert(Result);
-	return Result;
+	return Error;
 }
 }
 
 
 
 

+ 8 - 9
test/core/core_type_mat4x4.cpp

@@ -21,7 +21,7 @@ void print(glm::dmat4 const & Mat0)
 	printf("\tvec4(%2.3f, %2.3f, %2.3f, %2.3f))\n\n", Mat0[3][0], Mat0[3][1], Mat0[3][2], Mat0[3][3]);
 	printf("\tvec4(%2.3f, %2.3f, %2.3f, %2.3f))\n\n", Mat0[3][0], Mat0[3][1], Mat0[3][2], Mat0[3][3]);
 }
 }
 
 
-bool test_mat4x4()
+int test_mat4x4()
 {
 {
 	glm::dmat4 Mat0(
 	glm::dmat4 Mat0(
 		glm::dvec4(0.6f, 0.2f, 0.3f, 0.4f), 
 		glm::dvec4(0.6f, 0.2f, 0.3f, 0.4f), 
@@ -35,7 +35,7 @@ bool test_mat4x4()
 	print(Inv0);
 	print(Inv0);
 	print(Res0);
 	print(Res0);
 
 
-	return true;
+	return 0;
 }
 }
 
 
 static bool test_operators()
 static bool test_operators()
@@ -53,16 +53,15 @@ static bool test_operators()
 	bool R = m != q;
 	bool R = m != q;
 	bool S = m == m;
 	bool S = m == m;
 
 
-	return true;
+	return (S && !R) ? 0 : 1;
 }
 }
 
 
 int main()
 int main()
 {
 {
-	bool Result = true;
+	int Error = 0;
 
 
-	Result = Result && test_mat4x4();
-	Result = Result && test_operators();
-	
-	assert(Result);
-	return Result;
+	Error += test_mat4x4();
+	Error += test_operators();
+
+	return Error;
 }
 }

+ 5 - 6
test/core/core_type_vec1.cpp

@@ -9,22 +9,21 @@
 
 
 #include <glm/glm.hpp>
 #include <glm/glm.hpp>
 
 
-static bool test_operators()
+static int test_operators()
 {
 {
 	glm::vec4 A(1.0f);
 	glm::vec4 A(1.0f);
 	glm::vec4 B(1.0f);
 	glm::vec4 B(1.0f);
 	bool R = A != B;
 	bool R = A != B;
 	bool S = A == B;
 	bool S = A == B;
 
 
-	return true;
+	return (S && !R) ? 0 : 1;
 }
 }
 
 
 int main()
 int main()
 {
 {
-	bool Result = true;
+	int Error = 0;
 
 
-	Result = Result && test_operators();
+	Error += test_operators();
 	
 	
-	assert(Result);
-	return Result;
+	return Error;
 }
 }

+ 8 - 9
test/core/core_type_vec2.cpp

@@ -9,22 +9,21 @@
 
 
 #include <glm/glm.hpp>
 #include <glm/glm.hpp>
 
 
-static bool test_operators()
+static int test_operators()
 {
 {
-	glm::vec4 A(1.0f);
-	glm::vec4 B(1.0f);
+	glm::vec2 A(1.0f);
+	glm::vec2 B(1.0f);
 	bool R = A != B;
 	bool R = A != B;
 	bool S = A == B;
 	bool S = A == B;
 
 
-	return true;
+	return (S && !R) ? 0 : 1;
 }
 }
 
 
 int main()
 int main()
 {
 {
-	bool Result = true;
+	int Error = 0;
 
 
-	Result = Result && test_operators();
-	
-	assert(Result);
-	return Result;
+	Error += test_operators();
+
+	return Error;
 }
 }

+ 7 - 8
test/core/core_type_vec3.cpp

@@ -9,22 +9,21 @@
 
 
 #include <glm/glm.hpp>
 #include <glm/glm.hpp>
 
 
-static bool test_operators()
+static int test_operators()
 {
 {
-	glm::vec4 A(1.0f);
-	glm::vec4 B(1.0f);
+	glm::vec3 A(1.0f);
+	glm::vec3 B(1.0f);
 	bool R = A != B;
 	bool R = A != B;
 	bool S = A == B;
 	bool S = A == B;
 
 
-	return true;
+	return (S && !R) ? 0 : 1;
 }
 }
 
 
 int main()
 int main()
 {
 {
-	bool Result = true;
+	int Error = 0;
 
 
-	Result = Result && test_operators();
+	Error += test_operators();
 	
 	
-	assert(Result);
-	return Result;
+	return Error;
 }
 }

+ 8 - 15
test/core/core_type_vec4.cpp

@@ -31,41 +31,34 @@ enum comp
 //	return _mm_shuffle_ps(Src, Src, mask<(int(W) << 6) | (int(Z) << 4) | (int(Y) << 2) | (int(X) << 0)>::value);
 //	return _mm_shuffle_ps(Src, Src, mask<(int(W) << 6) | (int(Z) << 4) | (int(Y) << 2) | (int(X) << 0)>::value);
 //}
 //}
 
 
-bool test_hvec4()
+int test_hvec4()
 {
 {
 	glm::hvec4 const A = glm::hvec4(0, 1, 2, 3);
 	glm::hvec4 const A = glm::hvec4(0, 1, 2, 3);
 	//glm::hvec4 B = glm::swizzle<glm::X, glm::Y, glm::Z, glm::W>(A);
 	//glm::hvec4 B = glm::swizzle<glm::X, glm::Y, glm::Z, glm::W>(A);
 
 
 	//glm::vec4 B = glm::detail::tvec##(glm::vec4::_size)<float>();
 	//glm::vec4 B = glm::detail::tvec##(glm::vec4::_size)<float>();
 
 
-	return true;
+	return 0;
 }
 }
 
 
-static bool test_operators()
+static int test_operators()
 {
 {
 	glm::vec4 A(1.0f);
 	glm::vec4 A(1.0f);
 	glm::vec4 B(1.0f);
 	glm::vec4 B(1.0f);
 	bool R = A != B;
 	bool R = A != B;
 	bool S = A == B;
 	bool S = A == B;
 
 
-	return true;
+	return (S && !R) ? 0 : 1;
 }
 }
 
 
 int main()
 int main()
 {
 {
-	test_hvec4();
-
 	//__m128 DataA = swizzle<X, Y, Z, W>(glm::vec4(1.0f, 2.0f, 3.0f, 4.0f));
 	//__m128 DataA = swizzle<X, Y, Z, W>(glm::vec4(1.0f, 2.0f, 3.0f, 4.0f));
 	//__m128 DataB = swizzle<W, Z, Y, X>(glm::vec4(1.0f, 2.0f, 3.0f, 4.0f));
 	//__m128 DataB = swizzle<W, Z, Y, X>(glm::vec4(1.0f, 2.0f, 3.0f, 4.0f));
 
 
-	bool Result = true;
-
-	Result = Result && test_operators();
-	Result = Result && test_hvec4();
-	
-	assert(Result);
-	return Result;
-
-	return 0;
+	int Error = 0;
+	Error += test_operators();
+	Error += test_hvec4();
+	return Error;
 }
 }
 
 

+ 2 - 2
test/gtc/gtc_quaternion.cpp

@@ -13,7 +13,7 @@
 
 
 int main()
 int main()
 {
 {
-	int Failed = 0;
+	int Error = -1;
 
 
-	return Failed;
+	return Error;
 }
 }

+ 34 - 26
test/gtc/gtc_swizzle.cpp

@@ -13,114 +13,122 @@
 
 
 int test_swizzle_vec4_ref_dynamic()
 int test_swizzle_vec4_ref_dynamic()
 {
 {
+	int Error = 0;
+
 	{
 	{
 		glm::ivec4 A(0, 1, 2, 3);
 		glm::ivec4 A(0, 1, 2, 3);
 		glm::ivec4 B(2, 1, 0, 3);
 		glm::ivec4 B(2, 1, 0, 3);
 		glm::swizzle(A, glm::Z, glm::Y, glm::X, glm::W) = B;
 		glm::swizzle(A, glm::Z, glm::Y, glm::X, glm::W) = B;
-		assert(A.x == B.x && A.y == B.y && A.z == B.z && A.w == B.w);
+		Error += (A.z == B.x && A.y == B.y && A.x == B.z && A.w == B.w) ? 0 : 1;
 	}
 	}
 
 
 	{
 	{
 		glm::ivec4 A(0, 1, 2, 3);
 		glm::ivec4 A(0, 1, 2, 3);
 		glm::ivec3 B(2, 1, 0);
 		glm::ivec3 B(2, 1, 0);
 		glm::swizzle(A, glm::Z, glm::Y, glm::X) = B;
 		glm::swizzle(A, glm::Z, glm::Y, glm::X) = B;
-		assert(A.x == B.x && A.y == B.y && A.z == B.z);
+		Error += (A.z == B.x && A.y == B.y && A.x == B.z) ? 0 : 1;
 	}
 	}
 
 
 	{
 	{
 		glm::ivec4 A(0, 1, 2, 3);
 		glm::ivec4 A(0, 1, 2, 3);
 		glm::ivec2 B(2, 1);
 		glm::ivec2 B(2, 1);
 		glm::swizzle(A, glm::Z, glm::Y) = B;
 		glm::swizzle(A, glm::Z, glm::Y) = B;
-		assert(A.x == B.x && A.y == B.y);
+		Error += (A.z == B.x && A.y == B.y) ? 0 : 1;
 	}
 	}
 
 
 	{
 	{
 		glm::ivec4 A(0, 1, 2, 3);
 		glm::ivec4 A(0, 1, 2, 3);
 		int B(2);
 		int B(2);
 		glm::swizzle(A, glm::Z) = B;
 		glm::swizzle(A, glm::Z) = B;
-		assert(A.x == B);
+		Error += (A.z == B) ? 0 : 1;
 	}
 	}
 
 
-	return 0;
+	return Error;
 }
 }
 
 
 int test_swizzle_vec4_ref_static()
 int test_swizzle_vec4_ref_static()
 {
 {
+	int Error = 0;
+
 	{
 	{
 		glm::ivec4 A(0, 1, 2, 3);
 		glm::ivec4 A(0, 1, 2, 3);
 		glm::ivec4 B(2, 1, 0, 3);
 		glm::ivec4 B(2, 1, 0, 3);
 		glm::swizzle<glm::Z, glm::Y, glm::X, glm::W>(A) = B;
 		glm::swizzle<glm::Z, glm::Y, glm::X, glm::W>(A) = B;
-		assert(A.x == B.x && A.y == B.y && A.z == B.z && A.w == B.w);
+		Error += (A.z == B.x && A.y == B.y && A.x == B.z && A.w == B.w) ? 0 : 1;
 	}
 	}
 
 
 	{
 	{
 		glm::ivec4 A(0, 1, 2, 3);
 		glm::ivec4 A(0, 1, 2, 3);
 		glm::ivec3 B(2, 1, 0);
 		glm::ivec3 B(2, 1, 0);
 		glm::swizzle<glm::Z, glm::Y, glm::X>(A) = B;
 		glm::swizzle<glm::Z, glm::Y, glm::X>(A) = B;
-		assert(A.x == B.x && A.y == B.y && A.z == B.z);
+		Error += (A.z == B.x && A.y == B.y && A.x == B.z) ? 0 : 1;
 	}
 	}
 
 
 	{
 	{
 		glm::ivec4 A(0, 1, 2, 3);
 		glm::ivec4 A(0, 1, 2, 3);
 		glm::ivec2 B(2, 1);
 		glm::ivec2 B(2, 1);
 		glm::swizzle<glm::Z, glm::Y>(A) = B;
 		glm::swizzle<glm::Z, glm::Y>(A) = B;
-		assert(A.x == B.x && A.y == B.y);
+		Error += (A.z == B.x && A.y == B.y) ? 0 : 1;
 	}
 	}
 
 
 	{
 	{
 		glm::ivec4 A(0, 1, 2, 3);
 		glm::ivec4 A(0, 1, 2, 3);
 		int B(2);
 		int B(2);
 		glm::swizzle<glm::Z>(A) = B;
 		glm::swizzle<glm::Z>(A) = B;
-		assert(A.x == B);
+		Error += (A.z == B) ? 0 : 1;
 	}
 	}
 
 
-	return 0;
+	return Error;
 }
 }
 
 
 int test_swizzle_vec4_const_dynamic()
 int test_swizzle_vec4_const_dynamic()
 {
 {
+	int Error = 0;
+
 	glm::ivec4 A(0, 1, 2, 3);
 	glm::ivec4 A(0, 1, 2, 3);
 	glm::ivec4 B = glm::swizzle(A, glm::B, glm::G, glm::R, glm::A);
 	glm::ivec4 B = glm::swizzle(A, glm::B, glm::G, glm::R, glm::A);
-	assert(glm::all(glm::equal(A, B)));
+	Error += (glm::all(glm::equal(glm::ivec4(2, 1, 0, 3), B))) ? 0 : 1;
 
 
 	glm::ivec3 C = glm::swizzle(A, glm::W, glm::Y, glm::Z);
 	glm::ivec3 C = glm::swizzle(A, glm::W, glm::Y, glm::Z);
-	assert(glm::all(glm::equal(glm::ivec3(A), C)));
+	Error += (glm::all(glm::equal(glm::ivec3(3, 1, 2), C))) ? 0 : 1;
 
 
 	glm::ivec2 D = glm::swizzle(A, glm::W, glm::X);
 	glm::ivec2 D = glm::swizzle(A, glm::W, glm::X);
-	assert(glm::all(glm::equal(glm::ivec2(A), D)));
+	Error += (glm::all(glm::equal(glm::ivec2(3, 0), D))) ? 0 : 1;
 
 
 	int E = glm::swizzle(A, glm::Q);
 	int E = glm::swizzle(A, glm::Q);
-	assert(E == A.q);
+	Error += (E == 3) ? 0 : 1;
 
 
-	return 0;
+	return Error;
 }
 }
 
 
 int test_swizzle_vec4_const_static()
 int test_swizzle_vec4_const_static()
 {
 {
+	int Error = 0;
+
 	glm::ivec4 A(0, 1, 2, 3);
 	glm::ivec4 A(0, 1, 2, 3);
 
 
 	glm::ivec4 B = glm::swizzle<glm::B, glm::G, glm::R, glm::A>(A);
 	glm::ivec4 B = glm::swizzle<glm::B, glm::G, glm::R, glm::A>(A);
-	assert(glm::all(glm::equal(A, B)));
+	Error += (glm::all(glm::equal(glm::ivec4(2, 1, 0, 3), B))) ? 0 : 1;
 
 
 	glm::ivec3 C = glm::swizzle<glm::W, glm::Y, glm::Z>(A);
 	glm::ivec3 C = glm::swizzle<glm::W, glm::Y, glm::Z>(A);
-	assert(glm::all(glm::equal(glm::ivec3(A), C)));
+	Error += (glm::all(glm::equal(glm::ivec3(3, 1, 2), C))) ? 0 : 1;
 
 
 	glm::ivec2 D = glm::swizzle<glm::W, glm::X>(A);
 	glm::ivec2 D = glm::swizzle<glm::W, glm::X>(A);
-	assert(glm::all(glm::equal(glm::ivec2(A), D)));
+	Error += (glm::all(glm::equal(glm::ivec2(3, 0), D))) ? 0 : 1;
 
 
 	int E = glm::swizzle<glm::Q>(A);
 	int E = glm::swizzle<glm::Q>(A);
-	assert(E == A.q);
+	Error += (E == 3) ? 0 : 1;
 
 
-	return 0;
+	return Error;
 }
 }
 
 
 int main()
 int main()
 {
 {
-	int Failed = 0;
-	Failed += test_swizzle_vec4_ref_dynamic();
-	Failed += test_swizzle_vec4_ref_static();
-	Failed += test_swizzle_vec4_const_dynamic();
-	Failed += test_swizzle_vec4_const_static();
+	int Error = 0;
+	Error += test_swizzle_vec4_ref_dynamic();
+	Error += test_swizzle_vec4_ref_static();
+	Error += test_swizzle_vec4_const_dynamic();
+	Error += test_swizzle_vec4_const_static();
 
 
-	return Failed;
+	return Error;
 }
 }

+ 4 - 2
test/gtx/gtx-bit.cpp

@@ -129,6 +129,8 @@ namespace bitRevert
 
 
 int main()
 int main()
 {
 {
-	::extractField::test();
-	::bitRevert::test();
+	bool Error = 0;
+	Error += ::extractField::test();
+	Error += ::bitRevert::test();
+	return Error;
 }
 }

+ 6 - 8
test/gtx/gtx-simd-mat4.cpp

@@ -224,14 +224,14 @@ int test_compute_gtx()
 	std::clock_t TimeEnd = clock();
 	std::clock_t TimeEnd = clock();
 	printf("test_compute_gtx: %ld\n", TimeEnd - TimeStart);
 	printf("test_compute_gtx: %ld\n", TimeEnd - TimeStart);
 
 
-	return Output.size() != 0;
+	return 0;
 }
 }
 
 
 int main()
 int main()
 {
 {
-	int Failed = GLM_COMPILER;
+	int Error = 0;
 
 
-	std::vector<glm::mat4> Data(1024 * 1024 * 8);
+	std::vector<glm::mat4> Data(64 * 64 * 1);
 	for(std::size_t i = 0; i < Data.size(); ++i)
 	for(std::size_t i = 0; i < Data.size(); ++i)
 		Data[i] = glm::mat4(
 		Data[i] = glm::mat4(
 			glm::vec4(glm::compRand4(-2.0f, 2.0f)),
 			glm::vec4(glm::compRand4(-2.0f, 2.0f)),
@@ -277,13 +277,11 @@ int main()
 	glm::simdVec4 B(5.0f, 6.0f, 7.0f, 8.0f);
 	glm::simdVec4 B(5.0f, 6.0f, 7.0f, 8.0f);
 	__m128 C = _mm_shuffle_ps(A.Data, B.Data, _MM_SHUFFLE(1, 0, 1, 0));
 	__m128 C = _mm_shuffle_ps(A.Data, B.Data, _MM_SHUFFLE(1, 0, 1, 0));
 
 
-	Failed += test_compute_glm();
-	Failed += test_compute_gtx();
+	Error += test_compute_glm();
+	Error += test_compute_gtx();
 	
 	
 	float Det = glm::determinant(glm::simdMat4(1.0));
 	float Det = glm::determinant(glm::simdMat4(1.0));
 	glm::simdMat4 D = glm::matrixCompMult(glm::simdMat4(1.0), glm::simdMat4(1.0));
 	glm::simdMat4 D = glm::matrixCompMult(glm::simdMat4(1.0), glm::simdMat4(1.0));
 
 
-	system("pause");
-
-	return Failed;
+	return Error;
 }
 }

Some files were not shown because too many files changed in this diff