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; }