From 3091227ae4eecf837dd2faecf572bbb3a08de9de Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 4 Oct 2022 18:46:10 +0200 Subject: a --- tile-atlas.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tile-atlas.cpp') diff --git a/tile-atlas.cpp b/tile-atlas.cpp index 9d2f8070..e811ffc4 100644 --- a/tile-atlas.cpp +++ b/tile-atlas.cpp @@ -50,7 +50,7 @@ vertex_array_type tile_atlas::floor_quad(const Vector3 center, const Vector2 siz }}; } -vertex_array_type tile_atlas::wall_quad_N(const Vector3 center, const Vector3 size) +vertex_array_type tile_atlas::wall_quad_E(const Vector3 center, const Vector3 size) { float x = size[0]*.5f, y = size[1]*.5f, z = size[2]; return {{ @@ -61,7 +61,7 @@ vertex_array_type tile_atlas::wall_quad_N(const Vector3 center, const Vector3 si }}; } -vertex_array_type tile_atlas::wall_quad_E(const Vector3 center, const Vector3 size) +vertex_array_type tile_atlas::wall_quad_N(const Vector3 center, const Vector3 size) { float x = size[0]*.5f, y = size[1]*.5f, z = size[2]; return {{ @@ -72,7 +72,7 @@ vertex_array_type tile_atlas::wall_quad_E(const Vector3 center, const Vector3 si }}; } -vertex_array_type tile_atlas::wall_quad_S(const Vector3 center, const Vector3 size) +vertex_array_type tile_atlas::wall_quad_W(const Vector3 center, const Vector3 size) { float x = size[0]*.5f, y = size[1]*.5f, z = size[2]; return {{ @@ -83,7 +83,7 @@ vertex_array_type tile_atlas::wall_quad_S(const Vector3 center, const Vector3 si }}; } -vertex_array_type tile_atlas::wall_quad_W(const Vector3 center, const Vector3 size) +vertex_array_type tile_atlas::wall_quad_S(const Vector3 center, const Vector3 size) { float x = size[0]*.5f, y = size[1]*.5f, z = size[2]; return {{ -- cgit v1.2.3