Optimize VectorNormalize macros by not doing the sqrt on 0 length, this also means...
authorAshley 'LadyHavoc' Hale <darkplacesengine@gmail.com>
Tue, 10 May 2022 20:31:29 +0000 (13:31 -0700)
committerAshley 'LadyHavoc' Hale <darkplacesengine@gmail.com>
Tue, 10 May 2022 20:31:29 +0000 (13:31 -0700)
commitf16954a9d40168253ac5d9890dabcf7dbd266cd9
treec13226b81bbbfaf07d623f8b34816f78a0d9b991
parenta5e8522bdacd29c436bacd4f563939e350fb5d0f
Optimize VectorNormalize macros by not doing the sqrt on 0 length, this also means it should be more friendly to the CPU intrinsics for 1/sqrt in a single instruction
mathlib.h