glam-traits 0.1.3

Traits for the vectors in glam.
Documentation

glam-traits

Latest Version docs

Traits for the vectors in glam.

There are traits for the following characteristics:

  • "Any"
  • Signed
  • Float
  • Int
  • Signed int
  • Unsigned int

For lengths "any", 2, 3 and 4:

As well as for concrete types of any length:

I16Vec, U16Vec, I32Vec, U32Vec, I64Vec, U64Vec, F32Vec, F64Vec

GBVec is also provided to cover boolean vectors.

Traits are implemented for the appropriate glam types.