17.09.2020
+ Generic Scene + Generic Camera + Generic Window + Contexts for drawing and updateing + very basic 2D-implermention
This commit is contained in:
parent
9889366317
commit
589d131246
25 changed files with 383 additions and 78 deletions
18
SMCode/SM.Base/Window/Contexts/DrawContext.cs
Normal file
18
SMCode/SM.Base/Window/Contexts/DrawContext.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
using OpenTK;
|
||||
using SM.Base.Scene;
|
||||
using SM.OGL.Mesh;
|
||||
|
||||
namespace SM.Base.Contexts
|
||||
{
|
||||
public struct DrawContext
|
||||
{
|
||||
public bool ForceViewport;
|
||||
|
||||
public Matrix4 World;
|
||||
public Matrix4 View;
|
||||
public Matrix4 ModelMatrix;
|
||||
|
||||
public Mesh Mesh;
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue