mirror of
https://github.com/g-truc/glm.git
synced 2024-11-22 17:04:35 +00:00
Fixed build, updated manual for 0.9.8
This commit is contained in:
parent
234d7d4ba9
commit
07689bcc4d
BIN
doc/glm.docx
BIN
doc/glm.docx
Binary file not shown.
@ -252,15 +252,6 @@ int test_compute_gtx()
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int test_static_const() {
|
|
||||||
int Error(0);
|
|
||||||
|
|
||||||
Error += glm::mat4_cast(glm::simdMat4(static_cast<float>(1))) == glm::mat4_cast(glm::simdMat4::IDENTITY) ? 0 : 1;
|
|
||||||
Error += glm::mat4_cast(glm::simdMat4(static_cast<float>(0))) == glm::mat4_cast(glm::simdMat4::ZERO) ? 0 : 1;
|
|
||||||
|
|
||||||
return Error;
|
|
||||||
}
|
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
int Error = 0;
|
int Error = 0;
|
||||||
@ -313,7 +304,6 @@ int main()
|
|||||||
|
|
||||||
Error += test_compute_glm();
|
Error += test_compute_glm();
|
||||||
Error += test_compute_gtx();
|
Error += test_compute_gtx();
|
||||||
Error += test_static_const();
|
|
||||||
float Det = glm::determinant(glm::simdMat4(1.0));
|
float Det = glm::determinant(glm::simdMat4(1.0));
|
||||||
Error += Det == 1.0f ? 0 : 1;
|
Error += Det == 1.0f ? 0 : 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user