From 4f7645dc4f16104da9a017277916af0c2df21b52 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Wed, 4 Mar 2026 18:36:47 +0100 Subject: [PATCH] OBB OBB test --- interfaces/Crafter.Math-Intersection.cppm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/Crafter.Math-Intersection.cppm b/interfaces/Crafter.Math-Intersection.cppm index 395827e..14b0aa9 100755 --- a/interfaces/Crafter.Math-Intersection.cppm +++ b/interfaces/Crafter.Math-Intersection.cppm @@ -164,7 +164,7 @@ namespace Crafter { for (int i = 0; i < 3; ++i) { for (int j = 0; j < 3; ++j) { - axes.push_back(Vector::Cross(Vector(boxA.m[i][0], boxA.m[i][1], boxA.m[i][2]), Vector(boxB.m[j][0], boxB.m[j][1], boxB.m[j][2]))); + axes.push_back(Vector::Normalize(Vector::Cross(Vector(boxA.m[i][0], boxA.m[i][1], boxA.m[i][2]), Vector(boxB.m[j][0], boxB.m[j][1], boxB.m[j][2])))); } }