Struct physics::Physical [] [src]

pub struct Physical {
    pub collidable: Collidable,
    pub velocity: Vector2<f32>,
    pub angular_velocity: f32,
    pub centre_of_mass: Vector2<f32>,
    pub restitution: f32,
    pub inertia: f32,
}

Fields

Trait Implementations

impl Clone for Physical
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Physical
[src]

Formats the value using the given formatter.