Skip to content

Commit fd62581

Browse files
committed
Geometry quad position should be optional
1 parent 6a8689e commit fd62581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demosys/opengl/geometry/quad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def quad_fs():
1111
return quad_2d(2.0, 2.0, 0.0, 0.0)
1212

1313

14-
def quad_2d(width, height, xpos, ypos):
14+
def quad_2d(width, height, xpos=0.0, ypos=0.0):
1515
"""
1616
Creates a 2D quad VAO using 2 triangles.
1717

0 commit comments

Comments
 (0)