We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03af28e commit 88d3b44Copy full SHA for 88d3b44
fCraft/Drawing/DrawOps/Fill3DDrawOperation.cs
@@ -153,8 +153,8 @@ private IEnumerable<Vector3I> BlockEnumerator() {
153
yield return coords;
154
if (coords.X - 1 >= Bounds.XMin) stack.Push(index - 1);
155
if (coords.X + 1 <= Bounds.XMax) stack.Push(index + 1);
156
- if (coords.Y - 1 >= Bounds.YMin) stack.Push(index + width);
157
- if (coords.Y + 1 <= Bounds.YMax) stack.Push(index - width);
+ if (coords.Y - 1 >= Bounds.YMin) stack.Push(index - width);
+ if (coords.Y + 1 <= Bounds.YMax) stack.Push(index + width);
158
if (coords.Z - 1 >= Bounds.ZMin) stack.Push(index - width * length);
159
if (coords.Z + 1 <= Bounds.ZMax) stack.Push(index + width * length);
160
}
0 commit comments