We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Im (re) packaging cglm for Alpinelinux 1, and one of the test fails on x86 2
assert fail in ../test/src/test_clamp.c on line 16 : ASSERT(glm_clamp(0.6f, 0.0f, 1.0f) == 0.6f) 𐄂 clamp
Seems to be related to #220, I'll poke around with various GLM_FLT_EPSILON values to see if it works.
GLM_FLT_EPSILON
The text was updated successfully, but these errors were encountered:
possible fix for #266
ac94617
Hi @bl4ckb0ne,
Sorry for the late response and thanks for the efforts to pack cglm on Alpinelinux,
yes it is better to use glm_eq() instead of == to compare floats due to floating errors.
glm_eq()
==
Sorry, something went wrong.
I have just updated that with ac94617
Can you check again pls.
test_clamp: use glm_eq for floating point comparison
d001593
Fixes recp#266
Successfully merging a pull request may close this issue.
Im (re) packaging cglm for Alpinelinux 1, and one of the test fails on x86 2
Seems to be related to #220, I'll poke around with various
GLM_FLT_EPSILON
values to see if it works.The text was updated successfully, but these errors were encountered: