Skip to main content

Vec2

Type Alias Vec2 

Source
pub type Vec2 = Vector2<f64>;

Aliased Type§

pub struct Vec2 {
    pub x_: f64,
    pub y_: f64,
}

Fields§

§x_: f64

The first element of the vector2 object

§y_: f64

The second element of the vector2 object