Module models

Module models 

Source
Expand description

3D shapes and models, loading 3d models from files, drawing 3D primitives.

Structs§

DrawCylinderParams
DrawSphereParams
Mesh
Vertex

Functions§

draw_affine_parallelepiped
Draw an affine (3D) parallelepiped at given position, using six parallelograms.
draw_affine_parallelogram
Draw an affine (2D) parallelogram at given position, as two triangles.
draw_cube
draw_cube_wires
draw_cylinder
draw_cylinder_ex
draw_cylinder_wires
draw_grid
Draw a grid centered at (0, 0, 0)
draw_grid_ex
Draw a rotated grid centered at a specified point
draw_line_3d
draw_mesh
draw_plane
draw_sphere
draw_sphere_ex
draw_sphere_wires