28.10.2020
SM.Core: + Particle System + scriptable system for scripts ~ Moved Texts- and Particles-namespace to SM.Base.Drawing ~ Changed how you tell the stopwatch to pause. (From method to property) ~ Fixed Randomize.GetFloat(min, max) ~ Now automaticly adds the DrawingBase.Transformation to DrawContext.ModelMatrix. No need to change DrawContext.Instances[0], anymore. SM.OGL: + "one-file-shader"-support SM2D: + DrawParticles (Control for Texture and Color not there yet) ~ Changed coordnate system to upper-right as (1,1) ~ Changed default shader to "one-file-shader"
This commit is contained in:
parent
03b3942732
commit
beb9c19081
45 changed files with 580 additions and 190 deletions
|
|
@ -1,8 +1,9 @@
|
|||
#region usings
|
||||
|
||||
using SM.Base.Drawing;
|
||||
using SM.Base.Drawing.Text;
|
||||
using SM.Base.Objects.Static;
|
||||
using SM.Base.Scene;
|
||||
using SM.Base.Text;
|
||||
using SM.OGL.Mesh;
|
||||
using SM.OGL.Shaders;
|
||||
using SM.Utility;
|
||||
|
|
@ -36,6 +37,9 @@ namespace SM.Base
|
|||
/// </summary>
|
||||
public static Deltatime DefaultDeltatime = new Deltatime();
|
||||
|
||||
/// <summary>
|
||||
/// The default material shader.
|
||||
/// </summary>
|
||||
public static MaterialShader DefaultMaterialShader;
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -48,7 +52,9 @@ namespace SM.Base
|
|||
/// </summary>
|
||||
public static ulong CurrentFrame { get; internal set; } = 0;
|
||||
|
||||
public static GenericWindow CurrentWindow;
|
||||
public static GenericScene CurrentScene;
|
||||
/// <summary>
|
||||
/// Represents the current active window.
|
||||
/// </summary>
|
||||
public static GenericWindow CurrentWindow { get; internal set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue