Files
fs2open.github.com/code/math
Goober5000 86f75c5d17 fix normalized vector handling (#6650)
Although normalized vectors in FSO are supposed to stay normalized, occasionally small floating point errors can pop up.  In most cases these do not cause a problem, but in certain cases these errors can rapidly accumulate and corrupt an otherwise well-behaved matrix.  This can most easily be seen with daisy-chained dock sequences or docked ships with angled dockpoints.

This PR audits the usage of `vm_vector_2_matrix_norm` to re-normalize vectors in cases where floating point errors could accumulate.  There are also a few new Assertions for extra vigilance.

Follow-up to #6596.  Fixes #6634.
2025-03-28 23:54:51 +01:00
..
2024-02-07 15:29:13 -05:00
2025-02-01 23:16:33 -05:00
2024-08-27 23:30:25 -04:00
2021-06-20 12:56:20 +02:00
2024-12-24 15:52:50 -05:00
2020-09-25 21:28:25 -04:00
2020-09-25 21:28:25 -04:00