X2

Type Alias X2 

Source
pub type X2<Scalar> = Vector2<Scalar>;
Expand description

X2 Vector of cgmath

Aliased Type§

#[repr(C)]
pub struct X2<Scalar> { pub x: Scalar, pub y: Scalar, }

Fields§

§x: Scalar

The x component of the vector.

§y: Scalar

The y component of the vector.