We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd6e851 commit 210329aCopy full SHA for 210329a
pythreejs/pythreejs.py
@@ -44,7 +44,7 @@ def grid_indices_gen(nx, ny):
44
"""
45
for x in range(nx - 1):
46
for y in range(ny - 1):
47
- root = x + y * ny
+ root = x + y * nx
48
yield (root, root + 1, root + nx)
49
yield (root + nx, root + 1, root + nx + 1)
50
0 commit comments