pub type vec2<T = f32> = vec<T, 2>;Expand description
Vector with 2-elements.
Aliased Type§
#[repr(transparent)]pub struct vec2<T = f32>(pub [T; 2]);Tuple Fields§
§0: [T; 2]pub type vec2<T = f32> = vec<T, 2>;Vector with 2-elements.
#[repr(transparent)]pub struct vec2<T = f32>(pub [T; 2]);0: [T; 2]