Added DirectXTK to GlitchyEngineHelper

This commit is contained in:
Simon Lübeß
2022-04-13 00:00:41 +02:00
parent 9105c12e33
commit e685b4fbba
13 changed files with 316 additions and 24 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ namespace GlitchyEngine.World
Entity entity2 = CreateEntity("Red Square");
var v = entity2.AddComponent<SpriterRendererComponent>(.(ColorRGBA(0.95f, 0.1f, 0.3f)));
v.Sprite = new Texture2D("Textures/rocket.png");
v.Sprite = new Texture2D("Textures/rocket.dds");
v.Sprite.SamplerState = SamplerStateManager.PointClamp;
_onComponentAddedHandlers.Add(typeof(CameraComponent), (e, t, c) => {