Files
test2/intern
Weizhen Huang 70f3382c45 Refactor: simplify computations in function #ensure_valid_reflection
Actually both potential roots lie in the interval [0, 1], so the
function ended up checking both roots all the time.
The new implementation explains why only one of the roots is valid; it
saves two square roots and a bunch of other computations.
2023-03-20 14:35:02 +01:00
..
2022-02-11 09:14:36 +11:00
2022-03-18 12:07:08 +01:00
2023-03-14 12:51:37 +11:00
2023-02-07 14:17:01 +11:00
2023-02-07 14:17:01 +11:00
2022-08-15 16:10:29 +02:00