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. |
||
---|---|---|
.. | ||
component_wise.rs | ||
euler_angles.rs | ||
exterior_product.rs | ||
handed_coordinate_space.rs | ||
matrix_cross_product.rs | ||
matrix_operation.rs | ||
mod.rs | ||
norm.rs | ||
normal.rs | ||
normalize_dot.rs | ||
quaternion.rs | ||
rotate_normalized_axis.rs | ||
rotate_vector.rs | ||
transform2.rs | ||
transform2d.rs | ||
transform.rs | ||
vector_angle.rs | ||
vector_query.rs |