![]() # Objective - #10572 There is no 3D primitive available for the common shape of a tetrahedron (3-simplex). ## Solution This PR introduces a new type to the existing math primitives: - `Tetrahedron`: a polyhedron composed of four triangular faces, six straight edges, and four vertices --- ## Changelog ### Added - `Tetrahedron` primitive to the `bevy_math` crate - `Tetrahedron` tests (`area`, `volume` methods) - `impl_reflect!` declaration for `Tetrahedron` in the `bevy_reflect` crate |
||
---|---|---|
.. | ||
bounding | ||
primitives | ||
rects | ||
affine3.rs | ||
aspect_ratio.rs | ||
common_traits.rs | ||
cubic_splines.rs | ||
direction.rs | ||
float_ord.rs | ||
lib.rs | ||
ray.rs | ||
rotation2d.rs | ||
shape_sampling.rs |