Fixed sonar qube errors
All checks were successful
Gitea Actions Demo / Scan the project (push) Successful in 21s
All checks were successful
Gitea Actions Demo / Scan the project (push) Successful in 21s
This commit is contained in:
parent
cf14c9a79e
commit
049d8cff7e
|
@ -8,7 +8,6 @@ using System.Threading.Tasks;
|
||||||
namespace Nebulix.Rendering;
|
namespace Nebulix.Rendering;
|
||||||
|
|
||||||
|
|
||||||
[Serializable]
|
|
||||||
public class ShaderCompileException : Exception
|
public class ShaderCompileException : Exception
|
||||||
{
|
{
|
||||||
protected ShaderType ShaderType;
|
protected ShaderType ShaderType;
|
||||||
|
|
|
@ -7,7 +7,6 @@ using System.Threading.Tasks;
|
||||||
namespace Nebulix.Rendering;
|
namespace Nebulix.Rendering;
|
||||||
|
|
||||||
|
|
||||||
[Serializable]
|
|
||||||
public class ShaderLinkException : Exception
|
public class ShaderLinkException : Exception
|
||||||
{
|
{
|
||||||
public ShaderLinkException() : base("Error occured while trying to link a shader.") { }
|
public ShaderLinkException() : base("Error occured while trying to link a shader.") { }
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class Camera
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Controlls how fast the camera moves if a key is pressed
|
/// Controlls how fast the camera moves if a key is pressed
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public float MovementSpeed { get; set; } = 2.5f;
|
public float MovementSpeed { get; set; }
|
||||||
public float Fov { 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)
|
public Camera(Vector3D<float> position, float yaw = -90.0f, float pitch = 0, float movementSpeed = 2.5f, float fov = 45.0f)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user