pub trait Shape: WrappedBase<Shape> {
// Provided methods
fn shape_type(&self) -> ShapeType { ... }
fn child_count(&self) -> i32 { ... }
fn test_point(&self, xf: &Transform, p: &Vec2) -> bool { ... }
fn ray_cast(
&self,
input: &RayCastInput,
transform: &Transform,
child_index: i32
) -> RayCastOutput { ... }
fn compute_aabb(&self, xf: &Transform, child_index: i32) -> AABB { ... }
fn compute_mass(&self, density: f32) -> MassData { ... }
}