Luna::Vec2U

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

template <typename _Ty>
struct Luna::Vec2U

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 m[2]

    The array of components.

Member functions