Type Alias avian3d::math::Vector2

source ·
pub type Vector2 = Vec2;
Expand description

The vector type used by Avian. This is always a 2D vector regardless of the chosen dimension.

Aliased Type§

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

Fields§

§x: f32§y: f32