vec2

Type Alias vec2 

Source
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]

Trait Implementations§