From 7bb64036034ed3f198c5026113b1f2b9e162db7d Mon Sep 17 00:00:00 2001 From: Sebastian Mischke Date: Sun, 4 Jan 2026 21:18:47 +0100 Subject: [PATCH] Rename local10 to radius --- LEGO1/lego/sources/roi/legoroi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/sources/roi/legoroi.cpp b/LEGO1/lego/sources/roi/legoroi.cpp index e0677835..df2dace4 100644 --- a/LEGO1/lego/sources/roi/legoroi.cpp +++ b/LEGO1/lego/sources/roi/legoroi.cpp @@ -706,10 +706,10 @@ LegoU32 LegoROI::Intersect( Mx3DPointFloat v1(p_v1); v1 -= GetWorldBoundingSphere().Center(); - float local10 = GetWorldBoundingSphere().Radius(); + float radius = GetWorldBoundingSphere().Radius(); float local8 = p_v2.Dot(p_v2, p_v2); float localc = p_v2.Dot(p_v2, v1) * 2.0f; - float local14 = v1.Dot(v1, v1) - (local10 * local10); + float local14 = v1.Dot(v1, v1) - (radius * radius); if (local8 >= 0.001 || local8 <= -0.001) { float local1c = -1.0f;