Files
VoxelEngine/World/Blocks/TileCoord.cs

6 lines
230 B
C#

namespace VoxelEngine.World.Blocks;
// Position of a tile within the texture atlas, in tile units.
// Origin (0,0) is the top-left tile; X increases right, Y increases down.
public readonly record struct TileCoord(int X, int Y);