17.01.2021

+ WPF-Support
+ Game Controller System
+ GameKeybind System

+ SM_WPF_TEST
This commit is contained in:
Michel Fedde 2021-01-17 21:13:37 +01:00
parent af90d617d3
commit 6f23a80f7f
60 changed files with 1536 additions and 143 deletions

View file

@ -27,11 +27,11 @@ namespace SM.Base.Contexts
public RenderPipeline ActivePipeline;
public GenericScene ActiveScene;
public GenericWindow Window;
public IGenericWindow Window;
public GenericCamera UsedCamera =>
ForceViewport || ActiveScene._camera == null ? Window._viewportCamera : ActiveScene._camera;
ForceViewport || ActiveScene._camera == null ? Window.ViewportCamera : ActiveScene._camera;

View file

@ -1,6 +1,7 @@
#region usings
using OpenTK.Input;
using SM.Base.Scene;
#endregion
@ -25,5 +26,7 @@ namespace SM.Base.Contexts
/// The current mouse state.
/// </summary>
public MouseState MouseState;
public GenericScene CurrentScene;
}
}