Converts a 3D grid location to a 2D isometric screen projection.
The X grid coordinate in 3D space.
The Y grid coordinate in 3D space.
The Z grid coordinate in 3D space.
[X, Y]
array of the 2D screen coordinates.Gets the Z-index of a grid location.
Note: This is used to draw sprites and graphics to the screen in the correct order (back to front, bottom to top).
The X grid coordinate in 3D space.
The Y grid coordinate in 3D space.
The Z grid coordinate in 3D space.
Generated using TypeDoc
Number of vertical pixels per grid unit.