avian2d::math

Type Alias Vector

Source
pub type Vector = Vec2;
Expand description

The vector type used by Avian.

Aliased Type§

struct Vector {
    pub x: f32,
    pub y: f32,
}

Fields§

§x: f32§y: f32