Started to curate/move over input stuff

This commit is contained in:
2025-10-18 15:01:30 -04:00
parent 62979b480e
commit 0f621b4e1b
9 changed files with 1174 additions and 8 deletions

View File

@@ -28,8 +28,7 @@ f32_Min :: 0x00800000
// Note(Ed) : I don't see an intrinsict available anywhere for this. So I'll be using the Terathon non-sse impl
// Inverse Square Root
// C++ Source https://github.com/EricLengyel/Terathon-Math-Library/blob/main/TSMath.cpp#L191
inverse_sqrt_f32 :: proc "contextless" ( value: f32 ) -> f32
{
inverse_sqrt_f32 :: proc "contextless" ( value: f32 ) -> f32 {
if ( value < f32_Min) { return f32_Infinity }
value_u32 := transmute(u32) value