01.10.2020
+ Time controls (Stopwatch, Timers, Intervals) + Added smmeries to everything in SM.Base ~ Renamed Vectors to CVectors.
This commit is contained in:
parent
7acdba92f8
commit
97e638d9d9
44 changed files with 1092 additions and 289 deletions
|
|
@ -1,6 +1,6 @@
|
|||
using OpenTK;
|
||||
using SM.Base.Scene;
|
||||
using Vector2 = SM.Base.Types.Vector2;
|
||||
using SM.Base.Types;
|
||||
|
||||
namespace SM2D.Scene
|
||||
{
|
||||
|
|
@ -8,7 +8,7 @@ namespace SM2D.Scene
|
|||
{
|
||||
public override bool Orthographic { get; } = true;
|
||||
|
||||
public Vector2 Position = new Vector2(0);
|
||||
public CVector2 Position = new CVector2(0);
|
||||
|
||||
protected override Matrix4 ViewCalculation()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace SM2D.Scene
|
|||
{
|
||||
public ItemCollection()
|
||||
{
|
||||
Transform.Size = new Vector2(1);
|
||||
Transform.Size = new CVector2(1);
|
||||
}
|
||||
|
||||
public override void Draw(DrawContext context)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue