Skip to main content

Vec2

Type Alias Vec2 

Source
pub type Vec2 = DVec2;
Expand description

Coordinate vocabulary, re-exported from axiolid-core.

These are the same types, not copies: a consumer of the narrow linear closure should not need a second dependency to name a point. Double-precision two-dimensional vector.

Aliased Type§

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

Fields§

§x: f64§y: f64