Comments (3)
Hi,
This bug has been fixed in GLM 0.9.4 branch. Please not that GTX_epsilon has been promoted into GTC_epsilon with a couple of changes:
int test_defined()
{
glm::epsilonEqual(glm::vec2(), glm::vec2(), glm::vec2());
glm::epsilonEqual(glm::vec3(), glm::vec3(), glm::vec3());
glm::epsilonEqual(glm::vec4(), glm::vec4(), glm::vec4());
glm::epsilonEqual(glm::quat(), glm::quat(), glm::quat());
glm::epsilonNotEqual(glm::vec2(), glm::vec2(), glm::vec2());
glm::epsilonNotEqual(glm::vec3(), glm::vec3(), glm::vec3());
glm::epsilonNotEqual(glm::vec4(), glm::vec4(), glm::vec4());
glm::epsilonNotEqual(glm::quat(), glm::quat(), glm::quat());
glm::epsilonEqual(glm::vec2(), glm::vec2(), 0.0f);
glm::epsilonEqual(glm::vec3(), glm::vec3(), 0.0f);
glm::epsilonEqual(glm::vec4(), glm::vec4(), 0.0f);
glm::epsilonEqual(glm::quat(), glm::quat(), 0.0f);
glm::epsilonNotEqual(glm::vec2(), glm::vec2(), 0.0f);
glm::epsilonNotEqual(glm::vec3(), glm::vec3(), 0.0f);
glm::epsilonNotEqual(glm::vec4(), glm::vec4(), 0.0f);
glm::epsilonNotEqual(glm::quat(), glm::quat(), 0.0f);
return 0;
}
Thanks for contributing!
Christophe
from glm.
Wow, that was fast, thank you!
from glm.
It's not always that fast, it just turned out that I had a look at this code Yesterday.
from glm.
Related Issues (20)
- Trouble finding glm with cmake's find_package
- Vector GLM Logo HOT 1
- Quaternion constructor order doesn't depend on GLM_FORCE_QUAT_DATA_WXYZ HOT 1
- Defaulted functions causes initialization to 0 in constructor HOT 2
- No cmake install target HOT 1
- Swizzle support for CUDA HOT 4
- Disabled gtx/hash.hpp?
- Make HIP compatible HOT 3
- MSB1008 Error when running cmake --build with MSBuild v17 HOT 1
- update the tag version
- Unexpected `compMin` behavior. HOT 3
- C++20 support for constexpr and SIMD simultaneously
- quaternion_exponential.inl appears to incorrectly calculate exp(q)
- License statement grammer issue. HOT 1
- orientate4 & orientate3 call yawPitchRoll with wrong parameter order
- CUDA compiler error in type_aligned.hpp HOT 1
- Unnecessary warnings from matrix_projection.inl HOT 1
- Why unit test "ext_matrix_clip_space.cpp" is not used?
- glm::intersectRayTriangle might be broken
- Undefined behaviour warning
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glm.