Skip to main content

Vec2

Type Alias Vec2 

Source
pub type Vec2<T> = Vector<2, T, Aligned>;
Expand description

A 2-dimensional vector.

To initialize this type use the vec2 macro.

§SIMD Alignment

This type may be SIMD-aligned depending on the target architecture.

Aliased Type§

pub struct Vec2<T>(/* private fields */);