Luna::Vec4U

A generalized version of 4D vector. This vector type does not have specific alignment requirement.

template <typename _Ty>
struct Luna::Vec4U

Parameters

in] _Ty The element type of the vector.

Member objects

  • _Ty x

    The fist component of the vector.

  • _Ty y

    The second component of the vector.

  • _Ty z

    The third component of the vector.

  • _Ty w

    The fourth component of the vector.

  • _Ty m[4]

    The array of components.

Member functions