mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 04:32:50 -04:00
Merge pull request #802 from Rainb0wSkeppy/patch-1
fix Vec3F32 * operator being broken
This commit is contained in:
commit
c76f2f49f7
@ -215,7 +215,7 @@ namespace MCGalaxy.Maths
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static Vec3F32 operator * (Vec3F32 a, float b) {
|
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) {
|
public static Vec3F32 operator - (Vec3F32 a, Vec3F32 b) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user