Skip to main content

Vector2

Type Alias Vector2 

Source
pub type Vector2 = DVec2;
Expand description

A 2D vector type for use in any dimension context.

Aliased Type§

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

Fields§

§x: f64§y: f64