mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 02:04:35 +00:00
Fixed build
This commit is contained in:
parent
7e6e17f410
commit
0cd329da05
@ -136,8 +136,8 @@ int test_vec4_swizzle()
|
|||||||
glm::vec4 B = A.wzyx();
|
glm::vec4 B = A.wzyx();
|
||||||
glm::vec4 C = B.wzyx();
|
glm::vec4 C = B.wzyx();
|
||||||
|
|
||||||
Error += A != B ? 0 : 1;
|
Error += glm::any(glm::notEqual(A, B, 0.0001f)) ? 0 : 1;
|
||||||
Error += A == C ? 0 : 1;
|
Error += glm::all(glm::equal(A, C, 0.0001f)) ? 0 : 1;
|
||||||
|
|
||||||
float D = glm::dot(C.wzyx(), C.xyzw());
|
float D = glm::dot(C.wzyx(), C.xyzw());
|
||||||
Error += glm::equal(D, 20.f, 0.001f) ? 0 : 1;
|
Error += glm::equal(D, 20.f, 0.001f) ? 0 : 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user