picogl.core.draw.sphere

Legacy immediate-mode sphere rendering.

Functions

draw_latitude_ring_wireframe(ring) → None

Draw a latitude circle as a line loop.

draw_latitude_band_filled(ring0, ring1) → None

Draw a filled band between two latitude rings as a triangle strip.

draw_latitude_band_connectors(ring0, ring1) → None

Draw meridian segments connecting two latitude rings.

Module Contents

picogl.core.draw.sphere.draw_latitude_ring_wireframe(ring: list[picogl.core.vec3.Vec3]) → None[source]

Draw a latitude circle as a line loop.

picogl.core.draw.sphere.draw_latitude_band_filled(ring0: list[picogl.core.vec3.Vec3], ring1: list[picogl.core.vec3.Vec3]) → None[source]

Draw a filled band between two latitude rings as a triangle strip.

picogl.core.draw.sphere.draw_latitude_band_connectors(ring0: list[picogl.core.vec3.Vec3], ring1: list[picogl.core.vec3.Vec3]) → None[source]

Draw meridian segments connecting two latitude rings.