Skip to main content

Vec3A

Type Alias Vec3A 

Source
pub type Vec3A<T> = Vector<3, T, Aligned>;
Expand description

A 3D vector.

§SIMD alignment

For appropriate T types, Vec3A<T> has SIMD alignment. For no SIMD use Vec3<T>.

§Fields

  • x: T (the first element of the vector)
  • y: T (the second element of the vector)
  • z: T (the third element of the vector)

Note that these fields are only exposed by implementing Deref and DerefMut.

Aliased Type§

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