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 438f379 commit 788bb63Copy full SHA for 788bb63
demosys/opengl/geometry/points.py
@@ -25,7 +25,7 @@ def gen():
25
26
data = numpy.fromiter(gen(), count=count * 3, dtype=numpy.float32)
27
pos = VBO(data)
28
- vao = VAO("geometry:points_random_3d")
+ vao = VAO("geometry:points_random_3d", mode=GL.GL_POINTS)
29
vao.add_array_buffer(GL.GL_FLOAT, pos)
30
vao.map_buffer(pos, "in_position", 3)
31
vao.build()
0 commit comments