Skip to main content

b2Pos

Type Alias b2Pos 

Source
pub type b2Pos = b2Vec2;
Expand description

2D vector This can be used to represent a point or free vector

Aliased Type§

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

Fields§

§x: f32

coordinates

§y: f32

coordinates