PerspectiveCamera - Change Min/Max fov to getter only properties

This commit is contained in:
miku-666
2024-05-19 13:03:31 +02:00
parent 6e34e643e7
commit c4cc1eda36

View File

@@ -103,8 +103,8 @@ namespace PckStudio.Rendering.Camera
public Vector3 Up => Vector3.UnitY;
public float MinimumFov { get; set; } = 30f;
public float MaximumFov { get; set; } = 180f;
public float MinimumFov { get; } = 30f;
public float MaximumFov { get; } = 180f;
public float Fov
{