aboutsummaryrefslogtreecommitdiff
path: root/src/mapnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapnode.cpp')
-rw-r--r--src/mapnode.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mapnode.cpp b/src/mapnode.cpp
index 2f92f0a21..8799eb380 100644
--- a/src/mapnode.cpp
+++ b/src/mapnode.cpp
@@ -397,15 +397,15 @@ void transformNodeBox(const MapNode &n, const NodeBox &nodebox,
nodebox.wall_side.MaxEdge
};
- for (v3f &vertice : vertices) {
+ for (v3f &vertex : vertices) {
if(dir == v3s16(-1,0,0))
- vertice.rotateXZBy(0);
+ vertex.rotateXZBy(0);
if(dir == v3s16(1,0,0))
- vertice.rotateXZBy(180);
+ vertex.rotateXZBy(180);
if(dir == v3s16(0,0,-1))
- vertice.rotateXZBy(90);
+ vertex.rotateXZBy(90);
if(dir == v3s16(0,0,1))
- vertice.rotateXZBy(-90);
+ vertex.rotateXZBy(-90);
}
aabb3f box = aabb3f(vertices[0]);