diff --git a/MLEM/Cameras/Camera.cs b/MLEM/Cameras/Camera.cs
index 09c584f..3800e56 100644
--- a/MLEM/Cameras/Camera.cs
+++ b/MLEM/Cameras/Camera.cs
@@ -60,7 +60,7 @@ namespace MLEM.Cameras {
var sc = this.ActualScale;
var pos = -this.Position * sc;
if (this.roundPosition)
- pos = pos.Floor();
+ pos = pos.FloorCopy();
return Matrix.CreateScale(sc, sc, 1) * Matrix.CreateTranslation(new Vector3(pos, 0));
}
}
diff --git a/MLEM/Extensions/NumberExtensions.cs b/MLEM/Extensions/NumberExtensions.cs
index 85e86f9..7ee8459 100644
--- a/MLEM/Extensions/NumberExtensions.cs
+++ b/MLEM/Extensions/NumberExtensions.cs
@@ -45,17 +45,17 @@ namespace MLEM.Extensions {
}
///
- public static Vector2 Floor(this Vector2 vec) {
+ public static Vector2 FloorCopy(this Vector2 vec) {
return new Vector2(vec.X.Floor(), vec.Y.Floor());
}
///
- public static Vector3 Floor(this Vector3 vec) {
+ public static Vector3 FloorCopy(this Vector3 vec) {
return new Vector3(vec.X.Floor(), vec.Y.Floor(), vec.Z.Floor());
}
///
- public static Vector4 Floor(this Vector4 vec) {
+ public static Vector4 FloorCopy(this Vector4 vec) {
return new Vector4(vec.X.Floor(), vec.Y.Floor(), vec.Z.Floor(), vec.W.Floor());
}