implement isometric renderer

This commit is contained in:
LabyStudio
2022-02-04 12:43:36 +01:00
parent c2262a43ff
commit a6f365225c
5 changed files with 217 additions and 0 deletions
+4
View File
@@ -54,6 +54,10 @@ window.Gui = class {
stack.save();
this.drawSprite(stack, texture, minU * 256, minV, 16, 16, 0, 0, 16, 16)
// let triangles = IsometricRenderer.createTriangles(new Point(0, 0), new Point(1, 0), new Point(0, 1), new Point(1, 1));
// IsometricRenderer.render(stack, texture, triangles);
stack.restore();
}