From 15b9e8a4a2e6f70f5d8f42e8f1c397ab7519b0a9 Mon Sep 17 00:00:00 2001 From: Andrey Pokidov <9942846+Morgend@users.noreply.github.com> Date: Wed, 19 Feb 2025 15:11:00 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- basic-geometry/vector3.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/basic-geometry/vector3.h b/basic-geometry/vector3.h index b5b7585..8db3ca2 100644 --- a/basic-geometry/vector3.h +++ b/basic-geometry/vector3.h @@ -422,8 +422,8 @@ inline void bgc_vector3_maximize_fp32(const BgcVector3FP32* vector, BgcVector3FP maximal->x2 = vector->x2; } - if (vector->x3 > minimal->x3) { - minimal->x3 = vector->x3; + if (vector->x3 > maximal->x3) { + maximal->x3 = vector->x3; } } @@ -437,8 +437,8 @@ inline void bgc_vector3_maximize_fp64(const BgcVector3FP64* vector, BgcVector3FP maximal->x2 = vector->x2; } - if (vector->x3 > minimal->x3) { - minimal->x3 = vector->x3; + if (vector->x3 > maximal->x3) { + maximal->x3 = vector->x3; } }