Luna::Vec3U
A generalized version of 3D vector. This vector type does not have specific alignment requirement.
template <typename _Ty>
struct Luna::Vec3U
Parameters
in] _Ty The element type of the vector.
Member objects
-
The fist component of the vector.
-
The second component of the vector.
-
The third component of the vector.
-
The array of components.
Member functions
-
Constructs one vector with components uninitialized.
-
Constructs one vector by coping components from another vector.
-
Vec3U & operator=(const Vec3U &)=default
Assigns one vector by coping components from another vector.
-
Constructs one vector by coping components from another vector.
-
Vec3U & operator=(Vec3U &&)=default
Assigns one vector by coping components from another vector.
-
Constructs one vector from one Float3 vector.
-
Vec3U & operator=(const Float3 &rhs)
Assigns one vector from one Float3 vector.
-
Converts this vector to Float3.
-
Constructs one vector from one scalar.
-
constexpr Vec3U(_Ty x, _Ty y, _Ty z)
Constructs one vector from values.
-
bool operator==(const Vec3U &rhs) const
Compares two vectors for equality.
-
bool operator!=(const Vec3U &rhs) const
Compares two vectors for non-equality.