nalgebra/nalgebra-glm/src
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
..
ext Fix redundant import errors in nalgebra-glm 2024-03-20 13:12:01 +00:00
gtc Merge pull request #1265 from waywardmonkeys/fix-html-links 2023-09-30 18:24:28 +02:00
gtx Fix glm::is_null epsilon test (#1350) 2024-06-23 11:09:52 +02:00
aliases.rs docs: Use intradoc links rather than HTML. 2023-08-06 22:34:40 +07:00
common.rs Merge pull request #1265 from waywardmonkeys/fix-html-links 2023-09-30 18:24:28 +02:00
constructors.rs nalgebra-glm, clippy: Suppress too_many_arguments. 2023-08-19 01:00:01 +07:00
exponential.rs docs: Use intradoc links rather than HTML. 2023-08-06 22:34:40 +07:00
geometric.rs docs: Use intradoc links rather than HTML. 2023-08-06 22:34:40 +07:00
integer.rs Fix nalgebra-glm 2021-08-08 12:59:40 +02:00
lib.rs docs: Use intradoc links rather than HTML. 2023-08-06 22:34:40 +07:00
matrix.rs Fix nalgebra-glm 2021-08-08 12:59:40 +02:00
packing.rs Rename generic parameter N -> T 2021-04-11 13:57:54 +02:00
traits.rs chore: update to simba 0.9 (#1415) 2024-06-22 19:06:20 +02:00
trigonometric.rs nalgebra-glm: Fix clippy single_component_path_imports. 2023-08-19 00:19:42 +07:00
vector_relational.rs Correct less than or equal symbol in doc in vector_relational.rs 2024-01-11 23:24:13 -08:00