fix Vec3F32 * operator being broken

This commit is contained in:
Rainb0wSkeppy 2024-07-07 20:46:17 +00:00 committed by GitHub
parent 0689e6fd9b
commit d0f9c4279b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -215,7 +215,7 @@ namespace MCGalaxy.Maths
}
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) {