18.09.2020
+ Textures ~ Changed 2D coordnate system to lower right as XY+
This commit is contained in:
parent
589d131246
commit
a603ecc417
26 changed files with 267 additions and 16 deletions
|
|
@ -16,7 +16,7 @@ namespace SM2D.Scene
|
|||
|
||||
public override void RecalculateWorld(float width, float height)
|
||||
{
|
||||
OrthographicWorld = Matrix4.CreateOrthographic(width, height, 0.1f, 100);
|
||||
OrthographicWorld = Matrix4.CreateOrthographicOffCenter(-width / 2, width / 2, height / 2, -height / 2, 0.1f, 100);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue