From 6fc965ed567244ca27854d0f0b129c1f7617480f Mon Sep 17 00:00:00 2001 From: Thierry Berger Date: Mon, 20 Jan 2025 22:29:38 +0100 Subject: [PATCH] Expose a few primitive builders, which seemed to be missed? (#17454) Some primitives seems to have their export being missed, we can see in the documentation that types are not followable: : [CuboidMeshBuilder](https://docs.rs/bevy/latest/bevy/math/prelude/struct.Cuboid.html#impl-Meshable-for-Cuboid) is not exposed. This Pr addresses this, + its surrounding modules which were around. --- crates/bevy_mesh/src/primitives/dim3/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/bevy_mesh/src/primitives/dim3/mod.rs b/crates/bevy_mesh/src/primitives/dim3/mod.rs index 65b4eac7f6..2f8d724e67 100644 --- a/crates/bevy_mesh/src/primitives/dim3/mod.rs +++ b/crates/bevy_mesh/src/primitives/dim3/mod.rs @@ -12,7 +12,10 @@ pub(crate) mod triangle3d; pub use capsule::*; pub use cone::*; pub use conical_frustum::*; +pub use cuboid::*; pub use cylinder::*; pub use plane::*; pub use sphere::*; +pub use tetrahedron::*; pub use torus::*; +pub use triangle3d::*;