mirror of
https://github.com/g-truc/glm.git
synced 2024-11-29 11:24:35 +00:00
uses all variables in test
This commit is contained in:
parent
ea678faff9
commit
49d89a0009
@ -276,6 +276,8 @@ namespace min_
|
||||
int Error = 0;
|
||||
|
||||
glm::vec1 A0 = glm::min(glm::vec1(1), glm::vec1(1));
|
||||
bool A1 = glm::all(glm::equal(A0, glm::vec1(1), glm::epsilon<float>()));
|
||||
Error += A1 ? 0 : 1;
|
||||
|
||||
glm::vec2 B0 = glm::min(glm::vec2(1), glm::vec2(1));
|
||||
glm::vec2 B1 = glm::min(glm::vec2(1), 1.0f);
|
||||
@ -359,6 +361,9 @@ namespace max_
|
||||
int Error = 0;
|
||||
|
||||
glm::vec1 A0 = glm::max(glm::vec1(1), glm::vec1(1));
|
||||
bool A1 = glm::all(glm::equal(A0, glm::vec1(1), glm::epsilon<float>()));
|
||||
Error += A1 ? 0 : 1;
|
||||
|
||||
|
||||
glm::vec2 B0 = glm::max(glm::vec2(1), glm::vec2(1));
|
||||
glm::vec2 B1 = glm::max(glm::vec2(1), 1.0f);
|
||||
|
Loading…
Reference in New Issue
Block a user