Vector2d

Type Alias Vector2d 

Source
pub type Vector2d = Vector2<f64>;
Expand description

A 2D vector

Aliased Type§

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

Fields§

§x: f64

The x component of the vector.

§y: f64

The y component of the vector.