Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 705 Bytes

geometry.rst

File metadata and controls

19 lines (15 loc) · 705 Bytes

geometry

The geometry module is a collection of functions generating simple geometry / VAOs.

Functions

quad_fs() -> VAO

quad_2d(width, height, xpos=0.0, ypos=0.0) -> VAO

cube(width, height, depth, normals=True, uvs=True) -> VAO

bbox(width=1.0, height=1.0, depth=1.0) -> VAO

plane_xz(size=(10, 10), resolution=(10, 10)) -> VAO

points_random_3d(count, range_x=(-10.0, 10.0), range_y=(-10.0, 10.0), range_z=(-10.0, 10.0), seed=None) -> VAO

sphere(radius=0.5, sectors=32, rings=16) -> VAO