Type Definition Ball
rapier2d::geometry
type Ball = Ball<f32>;
A ball shape.
impl Shape for Ball
fn compute_aabb(&self, position: &Isometry<f32>) -> AABB<f32>
Computes the AABB of this shape.
fn mass_properties(&self, density: f32) -> MassProperties
Compute the mass-properties of this shape given its uniform density.
fn shape_type(&self) -> ShapeType
Gets the type tag of this shape.