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
collidable: Collidable
velocity: Vector2<f32>
angular_velocity: f32
centre_of_mass: Vector2<f32>
restitution: f32
inertia: f32
Trait Implementations
impl Clone for Physical
[src]
fn clone(&self) -> Physical
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more