We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc0a77e commit aa694c5Copy full SHA for aa694c5
demosys/geometry/cube.py
@@ -16,7 +16,7 @@ def cube(width, height, depth, center=(0.0, 0.0, 0.0), normals=True, uvs=True) -
16
:return: VAO representing the cube
17
"""
18
width, height, depth = width / 2.0, height / 2.0, depth / 2.0
19
-
+
20
pos = numpy.array([
21
center[0] + width, center[1] - height, center[2] + depth,
22
center[0] + width, center[1] + height, center[2] + depth,
0 commit comments