From 652eadf13526b2d67eeadab420b03c52be60ab5d Mon Sep 17 00:00:00 2001 From: Fredrik Malmer Date: Sat, 18 Oct 2025 01:18:50 +0200 Subject: [PATCH] Fix IsNormalized to match the corresponding procedure in box2d --- vendor/box2d/math_functions.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/box2d/math_functions.odin b/vendor/box2d/math_functions.odin index 33f01ebd1..c2d197f08 100644 --- a/vendor/box2d/math_functions.odin +++ b/vendor/box2d/math_functions.odin @@ -247,7 +247,7 @@ Normalize :: proc "c" (v: Vec2) -> Vec2 { @(require_results) IsNormalized :: proc "c" (v: Vec2) -> bool { aa := Dot(v, v) - return abs(1. - aa) < 10. * EPSILON + return abs(1. - aa) < 100. * EPSILON } @(require_results)