Added OrthographicCameraController

This commit is contained in:
Simon Lübeß
2021-08-04 17:22:49 +02:00
parent 3ac99491cf
commit 0735aae74f
4 changed files with 136 additions and 53 deletions
+2 -2
View File
@@ -283,11 +283,11 @@ namespace Sandbox
if(i == 1)
{
Renderer2D.Draw(_texture, 2 * x, 2 * y, 1, 1, .(r.Next(0, 256), r.Next(0, 256), r.Next(0, 256)));
Renderer2D.Draw(_texture, 2 * x, 2 * y, 1, 1, .(r.Next(0, 256), r.Next(0, 256), r.Next(0, 256)), 10);
}
else if(i == 2)
{
Renderer2D.Draw(_ge_logo, 2 * x, 2 * y, 1, 1, .(r.Next(0, 256), r.Next(0, 256), r.Next(0, 256)));
Renderer2D.Draw(_ge_logo, 2 * x, 2 * y, 1, 1, .(r.Next(0, 256), r.Next(0, 256), r.Next(0, 256)), 10);
}
}