Fixed sonar qube errors
All checks were successful
Gitea Actions Demo / Scan the project (push) Successful in 21s

This commit is contained in:
Daniel 2024-01-02 16:17:39 +01:00
parent cf14c9a79e
commit 049d8cff7e
3 changed files with 1 additions and 3 deletions

View File

@ -8,7 +8,6 @@ using System.Threading.Tasks;
namespace Nebulix.Rendering;
[Serializable]
public class ShaderCompileException : Exception
{
protected ShaderType ShaderType;

View File

@ -7,7 +7,6 @@ using System.Threading.Tasks;
namespace Nebulix.Rendering;
[Serializable]
public class ShaderLinkException : Exception
{
public ShaderLinkException() : base("Error occured while trying to link a shader.") { }

View File

@ -30,7 +30,7 @@ public class Camera
/// <summary>
/// Controlls how fast the camera moves if a key is pressed
/// </summary>
public float MovementSpeed { get; set; } = 2.5f;
public float MovementSpeed { get; set; }
public float Fov { get; set; }
public Camera(Vector3D<float> position, float yaw = -90.0f, float pitch = 0, float movementSpeed = 2.5f, float fov = 45.0f)