Skip to main content

Module euclidean_r3

Module euclidean_r3 

Source

Functions§

box_body
box_inertia
Mean of the principal-axis tensor’s diagonal; exact for a cube.
box_vertices
Vertices are centred at the origin; support queries do not use winding.
cube_vertices
dodecahedron_vertices
halfspace_body_r3
normal points to the side the world is on; the plane is dot(p, normal) = offset.
icosahedron_vertices
octahedron_vertices
polytope_body
Uses a bounding-sphere inertia approximation.
register_default_narrowphase
sphere_body_r3
sphere_inertia
tetrahedron_vertices