Skip to main content

Vector2D

Type Alias Vector2D 

Source
pub type Vector2D = Vector2D<f32>;
Expand description

Vector type used by tessellation and retained scene geometry.

Aliased Type§

pub struct Vector2D {
    pub x: f32,
    pub y: f32,
    /* private fields */
}

Fields§

§x: f32

The x (traditionally, horizontal) coordinate.

§y: f32

The y (traditionally, vertical) coordinate.