From a0d59ce00ec886ba10e95bc7ab5a5ef5b214017e Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Mon, 29 Dec 2025 14:12:14 -0500 Subject: [PATCH] Add const to TVec2 ctor to match TVec3 --- include/JSystem/JGeometry.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/JSystem/JGeometry.h b/include/JSystem/JGeometry.h index c76bc0ab4..e452126b2 100644 --- a/include/JSystem/JGeometry.h +++ b/include/JSystem/JGeometry.h @@ -278,9 +278,9 @@ struct TVec3 : public Vec { template struct TVec2 { TVec2() {} - TVec2(T x, T y) { set(x, y); } + TVec2(const T x, const T y) { set(x, y); } - void set(T x, T y) { + void set(const T x, const T y) { this->x = x; this->y = y; }