From a7b39ad7da99ab51f26600165c056799043ce26e Mon Sep 17 00:00:00 2001 From: Sancarn Date: Mon, 5 Aug 2024 19:20:14 +0100 Subject: [PATCH] Update stdQuadTree.cls --- src/stdQuadTree.cls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stdQuadTree.cls b/src/stdQuadTree.cls index accdbda..ca27d44 100644 --- a/src/stdQuadTree.cls +++ b/src/stdQuadTree.cls @@ -299,9 +299,9 @@ End Function '@param halfDimension - radius of box '@returns - The box UDT Private Function AABB_CreateEx(ByRef center As XY, ByVal halfDimension As Double) As AABB - AABB_Create.center.x = center.x - AABB_Create.center.y = center.y - AABB_Create.halfDimension = halfDimension + AABB_CreateEx.center.x = center.x + AABB_CreateEx.center.y = center.y + AABB_CreateEx.halfDimension = halfDimension End Function 'Checks if a box contains a point