ソースを参照

Added CPP Check project

Christophe Riccio 14 年 前
コミット
22ebdf4b08

BIN
doc/glm-0.9.3.pdf


+ 14 - 2
doc/src/data.xml

@@ -3,7 +3,7 @@
 <glm copyright="Copyright © 2005 - 2012">
   <downloads>
     <section name="GLM - zip files">
-      <download name="GLM 0.9.3.0" date="03/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="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.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="03/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="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.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,6 +170,18 @@
   </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">
+      <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>
+
+      <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>
+      <source type="Link" href="http://glm.g-truc.net/glm-0.9.3.pdf">GLM 0.9.3 Manual</source>
+      <source type="Link" href="http://glm.g-truc.net/api-0.9.3/index.html">GLM 0.9.3 API</source>
+    </news>
+
     <news index="0074" date="12/12/2011" title="GLM 0.9.3 beta released" image="goodies/logo.png" image-mini="image/logo-mini.png">
       <paragraph>
         GLM 0.9.3 beta fixes various bugs and add support for <link href="http://code.google.com/chrome/nativeclient/">Chrome Native Client</link>

+ 8 - 0
readme.txt

@@ -36,6 +36,14 @@ GLM is a header only library, there is nothing to build, just include it.
 More informations in GLM manual:
 http://glm.g-truc.net/glm-0.9.3.pdf
 
+================================================================================
+GLM 0.9.3.0: 2012-01-07
+--------------------------------------------------------------------------------
+- Added CPP Check project
+- Fixed conflict with Windows headers
+- Fixed isinf implementation
+- Fixed Boost conflict
+
 ================================================================================
 GLM 0.9.3.B: 2011-12-12
 --------------------------------------------------------------------------------

+ 2 - 1
test/core/core_type_mat2x2.cpp

@@ -12,6 +12,7 @@
 static int test_operators()
 {
 	glm::mat2x2 m(1.0f);
+	glm::mat2x2 n(1.0f);
 	glm::vec2 u(1.0f);
 	glm::vec2 v(1.0f);
 	float x = 1.0f;
@@ -22,7 +23,7 @@ static int test_operators()
 	glm::mat2x2 p = x * m;
 	glm::mat2x2 q = m * x;
 	bool R = m != q;
-	bool S = m == m;
+	bool S = m == n;
 
 	return (S && !R) ? 0 : 1;
 }

+ 2 - 1
test/core/core_type_mat2x3.cpp

@@ -12,6 +12,7 @@
 static int test_operators()
 {
 	glm::mat2x3 m(1.0f);
+	glm::mat2x3 n(1.0f);
 	glm::vec2 u(1.0f);
 	glm::vec3 v(1.0f);
 	float x = 1.0f;
@@ -22,7 +23,7 @@ static int test_operators()
 	glm::mat2x3 p = x * m;
 	glm::mat2x3 q = m * x;
 	bool R = m != q;
-	bool S = m == m;
+	bool S = m == n;
 
 	return (S && !R) ? 0 : 1;
 }

+ 2 - 1
test/core/core_type_mat2x4.cpp

@@ -12,6 +12,7 @@
 static int test_operators()
 {
 	glm::mat2x4 m(1.0f);
+	glm::mat2x4 n(1.0f);
 	glm::vec2 u(1.0f);
 	glm::vec4 v(1.0f);
 	float x = 1.0f;
@@ -22,7 +23,7 @@ static int test_operators()
 	glm::mat2x4 p = x * m;
 	glm::mat2x4 q = m * x;
 	bool R = m != q;
-	bool S = m == m;
+	bool S = m == n;
 
 	return (S && !R) ? 0 : 1;
 }

+ 2 - 1
test/core/core_type_mat3x2.cpp

@@ -12,6 +12,7 @@
 static bool test_operators()
 {
 	glm::mat3x2 m(1.0f);
+	glm::mat3x2 n(1.0f);
 	glm::vec3 u(1.0f);
 	glm::vec2 v(1.0f);
 	float x = 1.0f;
@@ -22,7 +23,7 @@ static bool test_operators()
 	glm::mat3x2 p = x * m;
 	glm::mat3x2 q = m * x;
 	bool R = m != q;
-	bool S = m == m;
+	bool S = m == n;
 
 	return (S && !R) ? 0 : 1;
 }

+ 2 - 1
test/core/core_type_mat3x3.cpp

@@ -37,6 +37,7 @@ int test_mat3x3()
 static int test_operators()
 {
 	glm::mat3x3 m(1.0f);
+	glm::mat3x3 n(1.0f);
 	glm::vec3 u(1.0f);
 	glm::vec3 v(1.0f);
 	float x = 1.0f;
@@ -47,7 +48,7 @@ static int test_operators()
 	glm::mat3x3 p = x * m;
 	glm::mat3x3 q = m * x;
 	bool R = m != q;
-	bool S = m == m;
+	bool S = m == n;
 
 	return (S && !R) ? 0 : 1;
 }

+ 2 - 1
test/core/core_type_mat3x4.cpp

@@ -12,6 +12,7 @@
 static bool test_operators()
 {
 	glm::mat3x4 m(1.0f);
+	glm::mat3x4 n(1.0f);
 	glm::vec3 u(1.0f);
 	glm::vec4 v(1.0f);
 	float x = 1.0f;
@@ -22,7 +23,7 @@ static bool test_operators()
 	glm::mat3x4 p = x * m;
 	glm::mat3x4 q = m * x;
 	bool R = m != q;
-	bool S = m == m;
+	bool S = m == n;
 
 	return (S && !R) ? 0 : 1;
 }

+ 2 - 1
test/core/core_type_mat4x2.cpp

@@ -12,6 +12,7 @@
 static int test_operators()
 {
 	glm::mat4x2 m(1.0f);
+	glm::mat4x2 n(1.0f);
 	glm::vec4 u(1.0f);
 	glm::vec2 v(1.0f);
 	float x = 1.0f;
@@ -22,7 +23,7 @@ static int test_operators()
 	glm::mat4x2 p = x * m;
 	glm::mat4x2 q = m * x;
 	bool R = m != q;
-	bool S = m == m;
+	bool S = m == n;
 
 	return (S && !R) ? 0 : 1;
 }

+ 2 - 1
test/core/core_type_mat4x3.cpp

@@ -12,6 +12,7 @@
 static int test_operators()
 {
 	glm::mat4x3 m(1.0f);
+	glm::mat4x3 n(1.0f);
 	glm::vec4 u(1.0f);
 	glm::vec3 v(1.0f);
 	float x = 1.0f;
@@ -22,7 +23,7 @@ static int test_operators()
 	glm::mat4x3 p = x * m;
 	glm::mat4x3 q = m * x;
 	bool R = m != q;
-	bool S = m == m;
+	bool S = m == n;
 
 	return (S && !R) ? 0 : 1;
 }

+ 2 - 1
test/core/core_type_mat4x4.cpp

@@ -40,6 +40,7 @@ int test_mat4x4()
 static bool test_operators()
 {
 	glm::mat4x4 m(1.0f);
+	glm::mat4x4 n(1.0f);
 	glm::vec4 u(1.0f);
 	glm::vec4 v(1.0f);
 	float x = 1.0f;
@@ -50,7 +51,7 @@ static bool test_operators()
 	glm::mat4x4 p = x * m;
 	glm::mat4x4 q = m * x;
 	bool R = m != q;
-	bool S = m == m;
+	bool S = m == n;
 
 	return (S && !R) ? 0 : 1;
 }

+ 1 - 5
test/glm.cppcheck

@@ -1,10 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="1">
-    <root name="glm"/>
     <includedir>
-        <dir name=".."/>
+        <dir name="../glm"/>
     </includedir>
-    <paths>
-        <dir name=".."/>
-    </paths>
 </project>

+ 2 - 0
test/gtx/gtx_gradient_paint.cpp

@@ -15,6 +15,7 @@ int test_radialGradient()
 	int Error = 0;
 	
 	float Gradient = glm::radialGradient(glm::vec2(0), 1.0f, glm::vec2(1), glm::vec2(0.5));
+	Error += Gradient != 0.0f ? 0 : 1;
 	
 	return Error;
 }
@@ -24,6 +25,7 @@ int test_linearGradient()
 	int Error = 0;
 
 	float Gradient = glm::linearGradient(glm::vec2(0), glm::vec2(1), glm::vec2(0.5));
+	Error += Gradient != 0.0f ? 0 : 1;
 
 	return Error;
 }