mirror of
https://github.com/icaven/glm.git
synced 2025-12-07 17:26:50 +08:00
This is added as part of the GLM_EXT_matrix_common extension, as this function is not provided by the core GLSL specification (version 4.20). The implementation of this glm::abs(mat<>) function mirrors the glm::abs(vec<>) implementation. It should be functionning the same in every way as the vec implementation. Bonus points : AFAICT this allows to vectorize operations on compilers that support optimization of these patterns, just like the functor1<> struct in _vectorize.hpp for vectors. |
||
|---|---|---|
| .. | ||
| bug | ||
| cmake | ||
| core | ||
| ext | ||
| gtc | ||
| gtx | ||
| perf | ||
| CMakeLists.txt | ||
| glm.cppcheck | ||