nalgebra/nalgebra-glm
Christopher Durham 49906a35be
Fix glm::is_null epsilon test (#1350)
The existing implementation compares each component to zero with
an epsilon; effectively `glm::all(glm::is_comp_null(v, epsilon))`.
This probably isn't the desired semantics when calling `glm::is_null`;
rather, we want to determine if the magnitude of the vector is within
`epsilon` units of zero. It's the question of circle versus square.

This behavior matches that of OpenGL Mathematics.
2024-06-23 11:09:52 +02:00
..
src Fix glm::is_null epsilon test (#1350) 2024-06-23 11:09:52 +02:00
tests Run cargo fmt. 2020-04-05 18:49:48 +02:00
Cargo.toml chore: update to simba 0.9 (#1415) 2024-06-22 19:06:20 +02:00
LICENSE Fix and clarify license in crate metadata and add missing license files 2023-10-24 18:33:53 +02:00