diff --git a/doc/glm-0.9.3.pdf b/doc/glm-0.9.3.pdf index 58732993..c9c721b5 100644 Binary files a/doc/glm-0.9.3.pdf and b/doc/glm-0.9.3.pdf differ diff --git a/doc/src/data.xml b/doc/src/data.xml index 06178245..58cba2ae 100644 --- a/doc/src/data.xml +++ b/doc/src/data.xml @@ -3,7 +3,7 @@
- + @@ -73,7 +73,7 @@
- + @@ -170,6 +170,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. + + + GLM 0.9.3.0 (zip) + GLM 0.9.3.0 (7z) + Submit a bug report + GLM 0.9.3 Manual + GLM 0.9.3 API + + GLM 0.9.3 beta fixes various bugs and add support for Chrome Native Client diff --git a/readme.txt b/readme.txt index a45f18c9..6563f4cb 100644 --- a/readme.txt +++ b/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 -------------------------------------------------------------------------------- diff --git a/test/core/core_type_mat2x2.cpp b/test/core/core_type_mat2x2.cpp index 23b6bd81..2217d9a4 100644 --- a/test/core/core_type_mat2x2.cpp +++ b/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; } diff --git a/test/core/core_type_mat2x3.cpp b/test/core/core_type_mat2x3.cpp index f6311b96..18a9ef42 100644 --- a/test/core/core_type_mat2x3.cpp +++ b/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; } diff --git a/test/core/core_type_mat2x4.cpp b/test/core/core_type_mat2x4.cpp index fad79409..eff49b67 100644 --- a/test/core/core_type_mat2x4.cpp +++ b/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; } diff --git a/test/core/core_type_mat3x2.cpp b/test/core/core_type_mat3x2.cpp index 7193cd8a..d60abd11 100644 --- a/test/core/core_type_mat3x2.cpp +++ b/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; } diff --git a/test/core/core_type_mat3x3.cpp b/test/core/core_type_mat3x3.cpp index 26a4933c..1d2ba744 100644 --- a/test/core/core_type_mat3x3.cpp +++ b/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; } diff --git a/test/core/core_type_mat3x4.cpp b/test/core/core_type_mat3x4.cpp index 8e36b67a..2628835e 100644 --- a/test/core/core_type_mat3x4.cpp +++ b/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; } diff --git a/test/core/core_type_mat4x2.cpp b/test/core/core_type_mat4x2.cpp index 989acee1..e2f59918 100644 --- a/test/core/core_type_mat4x2.cpp +++ b/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; } diff --git a/test/core/core_type_mat4x3.cpp b/test/core/core_type_mat4x3.cpp index cc46e8d4..269b87ce 100644 --- a/test/core/core_type_mat4x3.cpp +++ b/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; } diff --git a/test/core/core_type_mat4x4.cpp b/test/core/core_type_mat4x4.cpp index 577aac24..68604a79 100644 --- a/test/core/core_type_mat4x4.cpp +++ b/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; } diff --git a/test/glm.cppcheck b/test/glm.cppcheck index 6ce27f27..12081fe1 100644 --- a/test/glm.cppcheck +++ b/test/glm.cppcheck @@ -1,10 +1,6 @@ - - + - - - diff --git a/test/gtx/gtx_gradient_paint.cpp b/test/gtx/gtx_gradient_paint.cpp index 85de7b9d..3409bd52 100644 --- a/test/gtx/gtx_gradient_paint.cpp +++ b/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; }