Skip to content

Commit

Permalink
Merge pull request #802 from Rainb0wSkeppy/patch-1
Browse files Browse the repository at this point in the history
fix Vec3F32 * operator being broken
  • Loading branch information
UnknownShadow200 committed Jul 7, 2024
2 parents 0689e6f + d0f9c42 commit c76f2f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MCGalaxy/util/Math/Vectors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public struct Vec3F32 : IEquatable<Vec3F32>
}

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) {
Expand Down

0 comments on commit c76f2f4

Please sign in to comment.