Skip to main content

RVec2

Type Alias RVec2 

Source
pub type RVec2 = Vec2;
Expand description

The real number 2D vector type used by Avian.

This is a type alias for Vec2 in single-precision mode and DVec2 in double-precision mode.

Aliased Type§

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

Fields§

§x: f32§y: f32