From d18f206c3b384514a7894844663885da67c71a45 Mon Sep 17 00:00:00 2001 From: Orange Date: Tue, 7 May 2024 02:12:16 +0300 Subject: [PATCH] patch --- source/Vector3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Vector3.cpp b/source/Vector3.cpp index 45715dc..0be8556 100644 --- a/source/Vector3.cpp +++ b/source/Vector3.cpp @@ -132,7 +132,7 @@ namespace uml return sqrt(x * x + y * y + z * z); } - float Vector3::LengthSqr(void) const + float Vector3::LengthSqr() const { return (x * x + y * y + z * z); } @@ -143,7 +143,7 @@ namespace uml } - Vector3 Vector3::operator-(void) const + Vector3 Vector3::operator-() const { return {-x, -y, -z}; }