picogl.backend.glu.sphere

GLU quadric sphere helpers.

Functions

glu_new_quadric()

Create a new GLU quadric object.

glu_sphere(quadric, radius, slices, stacks) → None

Draw a sphere using a GLU quadric.

glu_delete_quadric(quadric) → None

Delete a GLU quadric object.

glu_draw_sphere([radius, slices, stacks]) → None

Create a temporary quadric, draw a sphere, and delete the quadric.

Module Contents

picogl.backend.glu.sphere.glu_new_quadric()[source]

Create a new GLU quadric object.

picogl.backend.glu.sphere.glu_sphere(quadric, radius: float, slices: int, stacks: int) → None[source]

Draw a sphere using a GLU quadric.

picogl.backend.glu.sphere.glu_delete_quadric(quadric) → None[source]

Delete a GLU quadric object.

picogl.backend.glu.sphere.glu_draw_sphere(radius: float = 0.3, slices: int = 12, stacks: int = 12) → None[source]

Create a temporary quadric, draw a sphere, and delete the quadric.