Merge pull request #802 from Rainb0wSkeppy/patch-1

fix Vec3F32 * operator being broken
This commit is contained in:
UnknownShadow200 2024-07-08 06:55:00 +10:00 committed by GitHub
commit c76f2f49f7
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) {