forked from M-Labs/nalgebra
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. |
||
---|---|---|
.. | ||
ext | ||
gtc | ||
gtx | ||
aliases.rs | ||
common.rs | ||
constructors.rs | ||
exponential.rs | ||
geometric.rs | ||
integer.rs | ||
lib.rs | ||
matrix.rs | ||
packing.rs | ||
traits.rs | ||
trigonometric.rs | ||
vector_relational.rs |