Expand description
Staticly-lengthed vectors of scalars with lengths between 2 and 4.
Modules§
Macros§
Structs§
- Count of scalars that may or may not be a
VecLen. - See
VecAlignment. ensures that the vector is aligned to[T; N]’s size. - See
VecAlignment. ensures that the vector has the same type-layout as[T; N]. - The only vector type. Statically-lengthed vector generic over
N(length),T(scalar type), andA(alignment??).
Enums§
Traits§
- Sealed trait for the alignment rules of a vector.
- Sealed trait for
ScalarCounts that are valid as vector lengths.
Functions§
Type Aliases§
- type alias to
Vector<2, T, VecAligned> - type alias to
Vector<3, T, VecAligned> - type alias to
Vector<4, T, VecAligned> - type alias to
Vector<2, T, VecPacked>If you don’t know the difference betweenVecAlignedandVecPacked, useVec2. - type alias to
Vector<3, T, VecPacked>If you don’t know the difference betweenVecAlignedandVecPacked, useVec3. - type alias to
Vector<4, T, VecPacked>If you don’t know the difference betweenVecAlignedandVecPacked, useVec4.