Struct chipmunk_rs::PolyShape [] [src]

pub struct PolyShape<T: ChipmunkRsTypes> { /* fields omitted */ }

A CircleShape. See Working With Polygon Shapes.

Methods

impl<T: ChipmunkRsTypes> PolyShape<T>
[src]

Create a new box shape. radius is the radius of the corners. Use radius: 0.0 for no rounded corners. See Working With Polygon Shapes.

Trait Implementations

impl<T: ChipmunkRsTypes> Drop for PolyShape<T>
[src]

A method called when the value goes out of scope. Read more

impl<T: ChipmunkRsTypes> BaseShape for PolyShape<T>
[src]

Get the raw shape pointer.

impl<T: ChipmunkRsTypes> Shape<T> for PolyShape<T>
[src]

Get the body attached to the shape.

See Chipmunk Collision Shapes.

See Chipmunk Collision Shapes.

See Chipmunk Collision Shapes.

See Chipmunk Collision Shapes.

See Chipmunk Collision Shapes.