nalgebra/nalgebra-glm/src/gtx
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
..
component_wise.rs docs: Use intradoc links rather than HTML. 2023-08-06 22:34:40 +07:00
euler_angles.rs Fix nalgebra-glm 2021-08-08 12:59:40 +02:00
exterior_product.rs Rename generic parameter N -> T 2021-04-11 13:57:54 +02:00
handed_coordinate_space.rs docs: Use intradoc links rather than HTML. 2023-08-06 22:34:40 +07:00
matrix_cross_product.rs docs: Use intradoc links rather than HTML. 2023-08-06 22:34:40 +07:00
matrix_operation.rs docs: Use intradoc links rather than HTML. 2023-08-06 22:34:40 +07:00
mod.rs Execute rustfmt. 2018-10-22 06:23:40 +02:00
norm.rs docs: Use intradoc links rather than HTML. 2023-08-06 22:34:40 +07:00
normal.rs Fix nalgebra-glm 2021-08-08 12:59:40 +02:00
normalize_dot.rs docs: Use intradoc links rather than HTML. 2023-08-06 22:34:40 +07:00
quaternion.rs fix: Correct minor typos 2023-02-01 15:48:06 +09:00
rotate_normalized_axis.rs Fix nalgebra-glm 2021-08-08 12:59:40 +02:00
rotate_vector.rs Fix nalgebra-glm 2021-08-08 12:59:40 +02:00
transform2.rs Update slice->view in nalgebra-glm 2022-11-14 15:18:28 +01:00
transform2d.rs docs: Use intradoc links rather than HTML. 2023-08-06 22:34:40 +07:00
transform.rs docs: Use intradoc links rather than HTML. 2023-08-06 22:34:40 +07:00
vector_angle.rs Fix nalgebra-glm 2021-08-08 12:59:40 +02:00
vector_query.rs Fix glm::is_null epsilon test (#1350) 2024-06-23 11:09:52 +02:00