Type Alias 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§

#[repr(C)]
pub struct Vector2 { pub x: f32, pub y: f32, }

Fields§

§x: f32§y: f32