Author:ptrace Comitter:ptrace Date:2026-08-25 02:10:45 UTC

Math: Bugfix. When passing a custom Rectangle type it would not pick up additional fields; Tests: added shebang.

diff --git a/0x2_Math.jai b/0x2_Math.jai index 5b4c2c8..5fe67b6 100644 --- a/0x2_Math.jai +++ b/0x2_Math.jai @@ -41,7 +41,7 @@ rect_scale :: (rect: *$T/interface Rectangle, scale: Vector2, origin: Rect_Origi     y = TOP  to BOTTOM */ rect_scale :: (rect: $T/interface Rectangle, scale: Vector2, origin: Rect_Origin = .NONE) -> T {     using new: T;     using new := rect;     if !origin || origin == .NONE then origin = .MID; diff --git a/tests/run_tests.jai b/tests/run_tests.jai old mode 100644 new mode 100755 index 1287fab..5c9e760 --- a/tests/run_tests.jai +++ b/tests/run_tests.jai @@ -1,4 +1,4 @@ #!/usr/bin/env -S jai -quiet run_tests.jai +Autorun MEMORY_DEBUGGER :: false;