diff --git a/Nebulix/Rendering/Shaders/ShaderCompileException.cs b/Nebulix/Rendering/Shaders/ShaderCompileException.cs index 028014c..6c2fc6b 100644 --- a/Nebulix/Rendering/Shaders/ShaderCompileException.cs +++ b/Nebulix/Rendering/Shaders/ShaderCompileException.cs @@ -8,7 +8,6 @@ using System.Threading.Tasks; namespace Nebulix.Rendering; -[Serializable] public class ShaderCompileException : Exception { protected ShaderType ShaderType; diff --git a/Nebulix/Rendering/Shaders/ShaderLinkException.cs b/Nebulix/Rendering/Shaders/ShaderLinkException.cs index a919ddb..be1e11d 100644 --- a/Nebulix/Rendering/Shaders/ShaderLinkException.cs +++ b/Nebulix/Rendering/Shaders/ShaderLinkException.cs @@ -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.") { } diff --git a/src/Camera/Camera.cs b/src/Camera/Camera.cs index 2446dfa..18a90f0 100644 --- a/src/Camera/Camera.cs +++ b/src/Camera/Camera.cs @@ -30,7 +30,7 @@ public class Camera /// /// Controlls how fast the camera moves if a key is pressed /// - public float MovementSpeed { get; set; } = 2.5f; + public float MovementSpeed { get; set; } public float Fov { get; set; } public Camera(Vector3D position, float yaw = -90.0f, float pitch = 0, float movementSpeed = 2.5f, float fov = 45.0f)