summaryrefslogtreecommitdiffhomepage
path: root/tile-atlas.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-04 17:55:05 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-04 17:55:05 +0200
commitb0bf26a6ff0071a4edb43c3bfb331110d025aae4 (patch)
tree8296ac490fe12915c7474592136e31d8ce78d4b9 /tile-atlas.cpp
parenteaa84e4cc36fbed509364d1084ddac368a745a33 (diff)
a
Diffstat (limited to 'tile-atlas.cpp')
-rw-r--r--tile-atlas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tile-atlas.cpp b/tile-atlas.cpp
index 07f59696..eb550e34 100644
--- a/tile-atlas.cpp
+++ b/tile-atlas.cpp
@@ -50,7 +50,7 @@ vertex_array_type tile_atlas::floor_quad(Vector3 center, Vector2 size)
}};
}
-vertex_array_type tile_atlas::wall_quad_W(Vector3 center, Vector3 size)
+vertex_array_type tile_atlas::wall_quad_N(Vector3 center, 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_E(Vector3 center, Vector3 size)
}};
}
-vertex_array_type tile_atlas::wall_quad_N(Vector3 center, Vector3 size)
+vertex_array_type tile_atlas::wall_quad_W(Vector3 center, Vector3 size)
{
float x = size[0]*.5f, y = size[1]*.5f, z = size[2];
return {{