Skip to content

Ababwa/glam-traits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:

Any 2 3 4
Any GVec GVec2 GVec3 GVec4
Signed SignedVec SignedVec2 SignedVec3 SignedVec4
Float FloatVec FloatVec2 FloatVec3 FloatVec4
Int IntVec IntVec2 IntVec3 IntVec4
Signed int SIntVec SIntVec2 SIntVec3 SIntVec4
Unsigned int UIntVec UIntVec2 UIntVec3 UIntVec4

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.

About

Traits for glam

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages