From d0f9c4279b27f146a0ac70bacbaf9f8aa6e5d03f Mon Sep 17 00:00:00 2001 From: Rainb0wSkeppy <48686725+Rainb0wSkeppy@users.noreply.github.com> Date: Sun, 7 Jul 2024 20:46:17 +0000 Subject: [PATCH] fix Vec3F32 * operator being broken --- MCGalaxy/util/Math/Vectors.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MCGalaxy/util/Math/Vectors.cs b/MCGalaxy/util/Math/Vectors.cs index 871ab9123..9ff6e6d66 100644 --- a/MCGalaxy/util/Math/Vectors.cs +++ b/MCGalaxy/util/Math/Vectors.cs @@ -215,7 +215,7 @@ public static Vec3F32 Normalise(Vec3F32 a) { } public static Vec3F32 operator * (Vec3F32 a, float b) { - return new Vec3F32(a.X * b, a.Y * b, a.Y * b); + return new Vec3F32(a.X * b, a.Y * b, a.Z * b); } public static Vec3F32 operator - (Vec3F32 a, Vec3F32 b) {