Skip to content

Commit

Permalink
suppress warns
Browse files Browse the repository at this point in the history
  • Loading branch information
recp committed Aug 27, 2024
1 parent ad009d4 commit b0f3520
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/src/test_vec3.h
Original file line number Diff line number Diff line change
Expand Up @@ -1673,7 +1673,9 @@ TEST_IMPL(GLM_PREFIX, vec3_eqv_eps) {

TEST_IMPL(GLM_PREFIX, vec3_max) {
vec3 v1 = {2.104f, -3.012f, -4.10f}, v2 = {-12.35f, -31.140f, -43.502f};
#ifndef CGLM_FAST_MATH
vec3 v3 = {INFINITY, 0.0f, 0.0f}/*, v4 = {NAN, INFINITY, 2.0f}*/;
#endif
vec3 /*v5 = {NAN, -1.0f, -1.0f}, */v6 = {-1.0f, -11.0f, 11.0f};

ASSERT(test_eq(GLM(vec3_max)(v1), 2.104f))
Expand Down
2 changes: 2 additions & 0 deletions test/src/test_vec4.h
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,9 @@ TEST_IMPL(GLM_PREFIX, vec4_eqv_eps) {
TEST_IMPL(GLM_PREFIX, vec4_max) {
vec4 v1 = {2.104f, -3.012f, -4.10f, -4.10f};
vec4 v2 = {-12.35f, -31.140f, -43.502f, -43.502f};
#ifndef CGLM_FAST_MATH
vec4 v3 = {INFINITY, 0.0f, 0.0f, 0.0f};
#endif
// vec4 v4 = {NAN, INFINITY, 2.0f, 2.0f};
// vec4 v5 = {NAN, -1.0f, -1.0f, -1.0f};
vec4 v6 = {-1.0f, -11.0f, 11.0f, 11.0f};
Expand Down

0 comments on commit b0f3520

Please sign in to comment.