mirror of
https://github.com/g-truc/glm.git
synced 2024-11-13 22:01:46 +00:00
Added CPP Check project
This commit is contained in:
parent
ae14356c24
commit
22ebdf4b08
Binary file not shown.
@ -3,7 +3,7 @@
|
|||||||
<glm copyright="Copyright © 2005 - 2012">
|
<glm copyright="Copyright © 2005 - 2012">
|
||||||
<downloads>
|
<downloads>
|
||||||
<section name="GLM - zip files">
|
<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.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.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"/>
|
<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"/>
|
<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>
|
||||||
<section name="GLM - 7z files">
|
<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.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.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"/>
|
<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>
|
</todo>
|
||||||
|
|
||||||
<page_news>
|
<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">
|
<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>
|
<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>
|
GLM 0.9.3 beta fixes various bugs and add support for <link href="http://code.google.com/chrome/nativeclient/">Chrome Native Client</link>
|
||||||
|
@ -36,6 +36,14 @@ GLM is a header only library, there is nothing to build, just include it.
|
|||||||
More informations in GLM manual:
|
More informations in GLM manual:
|
||||||
http://glm.g-truc.net/glm-0.9.3.pdf
|
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
|
GLM 0.9.3.B: 2011-12-12
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
static int test_operators()
|
static int test_operators()
|
||||||
{
|
{
|
||||||
glm::mat2x2 m(1.0f);
|
glm::mat2x2 m(1.0f);
|
||||||
|
glm::mat2x2 n(1.0f);
|
||||||
glm::vec2 u(1.0f);
|
glm::vec2 u(1.0f);
|
||||||
glm::vec2 v(1.0f);
|
glm::vec2 v(1.0f);
|
||||||
float x = 1.0f;
|
float x = 1.0f;
|
||||||
@ -22,7 +23,7 @@ static int test_operators()
|
|||||||
glm::mat2x2 p = x * m;
|
glm::mat2x2 p = x * m;
|
||||||
glm::mat2x2 q = m * x;
|
glm::mat2x2 q = m * x;
|
||||||
bool R = m != q;
|
bool R = m != q;
|
||||||
bool S = m == m;
|
bool S = m == n;
|
||||||
|
|
||||||
return (S && !R) ? 0 : 1;
|
return (S && !R) ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
static int test_operators()
|
static int test_operators()
|
||||||
{
|
{
|
||||||
glm::mat2x3 m(1.0f);
|
glm::mat2x3 m(1.0f);
|
||||||
|
glm::mat2x3 n(1.0f);
|
||||||
glm::vec2 u(1.0f);
|
glm::vec2 u(1.0f);
|
||||||
glm::vec3 v(1.0f);
|
glm::vec3 v(1.0f);
|
||||||
float x = 1.0f;
|
float x = 1.0f;
|
||||||
@ -22,7 +23,7 @@ static int test_operators()
|
|||||||
glm::mat2x3 p = x * m;
|
glm::mat2x3 p = x * m;
|
||||||
glm::mat2x3 q = m * x;
|
glm::mat2x3 q = m * x;
|
||||||
bool R = m != q;
|
bool R = m != q;
|
||||||
bool S = m == m;
|
bool S = m == n;
|
||||||
|
|
||||||
return (S && !R) ? 0 : 1;
|
return (S && !R) ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
static int test_operators()
|
static int test_operators()
|
||||||
{
|
{
|
||||||
glm::mat2x4 m(1.0f);
|
glm::mat2x4 m(1.0f);
|
||||||
|
glm::mat2x4 n(1.0f);
|
||||||
glm::vec2 u(1.0f);
|
glm::vec2 u(1.0f);
|
||||||
glm::vec4 v(1.0f);
|
glm::vec4 v(1.0f);
|
||||||
float x = 1.0f;
|
float x = 1.0f;
|
||||||
@ -22,7 +23,7 @@ static int test_operators()
|
|||||||
glm::mat2x4 p = x * m;
|
glm::mat2x4 p = x * m;
|
||||||
glm::mat2x4 q = m * x;
|
glm::mat2x4 q = m * x;
|
||||||
bool R = m != q;
|
bool R = m != q;
|
||||||
bool S = m == m;
|
bool S = m == n;
|
||||||
|
|
||||||
return (S && !R) ? 0 : 1;
|
return (S && !R) ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
static bool test_operators()
|
static bool test_operators()
|
||||||
{
|
{
|
||||||
glm::mat3x2 m(1.0f);
|
glm::mat3x2 m(1.0f);
|
||||||
|
glm::mat3x2 n(1.0f);
|
||||||
glm::vec3 u(1.0f);
|
glm::vec3 u(1.0f);
|
||||||
glm::vec2 v(1.0f);
|
glm::vec2 v(1.0f);
|
||||||
float x = 1.0f;
|
float x = 1.0f;
|
||||||
@ -22,7 +23,7 @@ static bool test_operators()
|
|||||||
glm::mat3x2 p = x * m;
|
glm::mat3x2 p = x * m;
|
||||||
glm::mat3x2 q = m * x;
|
glm::mat3x2 q = m * x;
|
||||||
bool R = m != q;
|
bool R = m != q;
|
||||||
bool S = m == m;
|
bool S = m == n;
|
||||||
|
|
||||||
return (S && !R) ? 0 : 1;
|
return (S && !R) ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
@ -37,6 +37,7 @@ int test_mat3x3()
|
|||||||
static int test_operators()
|
static int test_operators()
|
||||||
{
|
{
|
||||||
glm::mat3x3 m(1.0f);
|
glm::mat3x3 m(1.0f);
|
||||||
|
glm::mat3x3 n(1.0f);
|
||||||
glm::vec3 u(1.0f);
|
glm::vec3 u(1.0f);
|
||||||
glm::vec3 v(1.0f);
|
glm::vec3 v(1.0f);
|
||||||
float x = 1.0f;
|
float x = 1.0f;
|
||||||
@ -47,7 +48,7 @@ static int test_operators()
|
|||||||
glm::mat3x3 p = x * m;
|
glm::mat3x3 p = x * m;
|
||||||
glm::mat3x3 q = m * x;
|
glm::mat3x3 q = m * x;
|
||||||
bool R = m != q;
|
bool R = m != q;
|
||||||
bool S = m == m;
|
bool S = m == n;
|
||||||
|
|
||||||
return (S && !R) ? 0 : 1;
|
return (S && !R) ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
static bool test_operators()
|
static bool test_operators()
|
||||||
{
|
{
|
||||||
glm::mat3x4 m(1.0f);
|
glm::mat3x4 m(1.0f);
|
||||||
|
glm::mat3x4 n(1.0f);
|
||||||
glm::vec3 u(1.0f);
|
glm::vec3 u(1.0f);
|
||||||
glm::vec4 v(1.0f);
|
glm::vec4 v(1.0f);
|
||||||
float x = 1.0f;
|
float x = 1.0f;
|
||||||
@ -22,7 +23,7 @@ static bool test_operators()
|
|||||||
glm::mat3x4 p = x * m;
|
glm::mat3x4 p = x * m;
|
||||||
glm::mat3x4 q = m * x;
|
glm::mat3x4 q = m * x;
|
||||||
bool R = m != q;
|
bool R = m != q;
|
||||||
bool S = m == m;
|
bool S = m == n;
|
||||||
|
|
||||||
return (S && !R) ? 0 : 1;
|
return (S && !R) ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
static int test_operators()
|
static int test_operators()
|
||||||
{
|
{
|
||||||
glm::mat4x2 m(1.0f);
|
glm::mat4x2 m(1.0f);
|
||||||
|
glm::mat4x2 n(1.0f);
|
||||||
glm::vec4 u(1.0f);
|
glm::vec4 u(1.0f);
|
||||||
glm::vec2 v(1.0f);
|
glm::vec2 v(1.0f);
|
||||||
float x = 1.0f;
|
float x = 1.0f;
|
||||||
@ -22,7 +23,7 @@ static int test_operators()
|
|||||||
glm::mat4x2 p = x * m;
|
glm::mat4x2 p = x * m;
|
||||||
glm::mat4x2 q = m * x;
|
glm::mat4x2 q = m * x;
|
||||||
bool R = m != q;
|
bool R = m != q;
|
||||||
bool S = m == m;
|
bool S = m == n;
|
||||||
|
|
||||||
return (S && !R) ? 0 : 1;
|
return (S && !R) ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
static int test_operators()
|
static int test_operators()
|
||||||
{
|
{
|
||||||
glm::mat4x3 m(1.0f);
|
glm::mat4x3 m(1.0f);
|
||||||
|
glm::mat4x3 n(1.0f);
|
||||||
glm::vec4 u(1.0f);
|
glm::vec4 u(1.0f);
|
||||||
glm::vec3 v(1.0f);
|
glm::vec3 v(1.0f);
|
||||||
float x = 1.0f;
|
float x = 1.0f;
|
||||||
@ -22,7 +23,7 @@ static int test_operators()
|
|||||||
glm::mat4x3 p = x * m;
|
glm::mat4x3 p = x * m;
|
||||||
glm::mat4x3 q = m * x;
|
glm::mat4x3 q = m * x;
|
||||||
bool R = m != q;
|
bool R = m != q;
|
||||||
bool S = m == m;
|
bool S = m == n;
|
||||||
|
|
||||||
return (S && !R) ? 0 : 1;
|
return (S && !R) ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
@ -40,6 +40,7 @@ int test_mat4x4()
|
|||||||
static bool test_operators()
|
static bool test_operators()
|
||||||
{
|
{
|
||||||
glm::mat4x4 m(1.0f);
|
glm::mat4x4 m(1.0f);
|
||||||
|
glm::mat4x4 n(1.0f);
|
||||||
glm::vec4 u(1.0f);
|
glm::vec4 u(1.0f);
|
||||||
glm::vec4 v(1.0f);
|
glm::vec4 v(1.0f);
|
||||||
float x = 1.0f;
|
float x = 1.0f;
|
||||||
@ -50,7 +51,7 @@ static bool test_operators()
|
|||||||
glm::mat4x4 p = x * m;
|
glm::mat4x4 p = x * m;
|
||||||
glm::mat4x4 q = m * x;
|
glm::mat4x4 q = m * x;
|
||||||
bool R = m != q;
|
bool R = m != q;
|
||||||
bool S = m == m;
|
bool S = m == n;
|
||||||
|
|
||||||
return (S && !R) ? 0 : 1;
|
return (S && !R) ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="1">
|
<project version="1">
|
||||||
<root name="glm"/>
|
|
||||||
<includedir>
|
<includedir>
|
||||||
<dir name=".."/>
|
<dir name="../glm"/>
|
||||||
</includedir>
|
</includedir>
|
||||||
<paths>
|
|
||||||
<dir name=".."/>
|
|
||||||
</paths>
|
|
||||||
</project>
|
</project>
|
||||||
|
@ -15,6 +15,7 @@ int test_radialGradient()
|
|||||||
int Error = 0;
|
int Error = 0;
|
||||||
|
|
||||||
float Gradient = glm::radialGradient(glm::vec2(0), 1.0f, glm::vec2(1), glm::vec2(0.5));
|
float Gradient = glm::radialGradient(glm::vec2(0), 1.0f, glm::vec2(1), glm::vec2(0.5));
|
||||||
|
Error += Gradient != 0.0f ? 0 : 1;
|
||||||
|
|
||||||
return Error;
|
return Error;
|
||||||
}
|
}
|
||||||
@ -24,6 +25,7 @@ int test_linearGradient()
|
|||||||
int Error = 0;
|
int Error = 0;
|
||||||
|
|
||||||
float Gradient = glm::linearGradient(glm::vec2(0), glm::vec2(1), glm::vec2(0.5));
|
float Gradient = glm::linearGradient(glm::vec2(0), glm::vec2(1), glm::vec2(0.5));
|
||||||
|
Error += Gradient != 0.0f ? 0 : 1;
|
||||||
|
|
||||||
return Error;
|
return Error;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user