forked from M-Labs/nalgebra
Linear algebra library for Rust.
49906a35be
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. |
||
---|---|---|
.github | ||
benches | ||
examples | ||
nalgebra-glm | ||
nalgebra-lapack | ||
nalgebra-macros | ||
nalgebra-sparse | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
CHANGELOG.md | ||
clippy.toml | ||
LICENSE | ||
README.md | ||
rustfmt.toml |