LiteFX 0.3.1.2022
Computer Graphics Engine
LiteFX::Math::Vector3u Class Reference

#include <math.hpp>

Inherits LiteFX::Math::Vector< UInt32, 3 >.

Public Member Functions

 Vector3u () noexcept
 
 Vector3u (const UInt32 &v) noexcept
 
 Vector3u (const UInt32 &x, const UInt32 &y, const UInt32 &z) noexcept
 
 Vector3u (const Vector3u &) noexcept
 
 Vector3u (const Vector< UInt32, 3 > &) noexcept
 
 Vector3u (Vector3u &&) noexcept
 
 Vector3u (Vector< UInt32, 3 > &&) noexcept
 
Vector3uoperator= (const Vector< UInt32, 3 > &_other) noexcept
 
Vector3uoperator= (Vector< UInt32, 3 > &&_other) noexcept
 
Vector3uoperator= (const Array< UInt32 > &_other) noexcept
 
Vector3uoperator= (const Vector3u &_other) noexcept
 
Vector3uoperator= (Vector3u &&_other) noexcept
 
const UInt32operator[] (const unsigned int &i) const noexcept
 
UInt32operator[] (const unsigned int &i) noexcept
 
 operator Array< UInt32 > () noexcept
 
- Public Member Functions inherited from LiteFX::Math::Vector< UInt32, 3 >
 Vector () noexcept=default
 
 Vector (const UInt32 &val) noexcept
 
 Vector (const vec_type &_other) noexcept
 
 Vector (vec_type &&_other) noexcept
 
Vector< UInt32, DIM > & operator= (const Vector< UInt32, DIM > &_other) noexcept
 
Vector< UInt32, DIM > & operator= (Vector< UInt32, DIM > &&_other) noexcept
 
const UInt32operator[] (const unsigned int &i) const noexcept
 
UInt32operator[] (const unsigned int &i) noexcept
 
const scalar_typeelements () const noexcept
 
int size () const noexcept
 
const scalar_typex () const noexcept
 
scalar_typex () noexcept
 
const scalar_typey () const noexcept
 
scalar_typey () noexcept
 
const scalar_typez () const noexcept
 
scalar_typez () noexcept
 
const scalar_typew () const noexcept
 
scalar_typew () noexcept
 

Additional Inherited Members

- Public Types inherited from LiteFX::Math::Vector< UInt32, 3 >
using scalar_type = UInt32
 
using vec_type = Vector< scalar_type, vec_size >
 
- Static Public Attributes inherited from LiteFX::Math::Vector< UInt32, 3 >
static constexpr size_t vec_size
 
- Protected Attributes inherited from LiteFX::Math::Vector< UInt32, 3 >
scalar_type m_elements [vec_size]
 

Constructor & Destructor Documentation

◆ Vector3u() [1/7]

Vector3u::Vector3u ( )
noexcept

◆ Vector3u() [2/7]

Vector3u::Vector3u ( const UInt32 v)
noexcept

◆ Vector3u() [3/7]

Vector3u::Vector3u ( const UInt32 x,
const UInt32 y,
const UInt32 z 
)
noexcept

◆ Vector3u() [4/7]

Vector3u::Vector3u ( const Vector3u _v)
noexcept

◆ Vector3u() [5/7]

Vector3u::Vector3u ( const Vector< UInt32, 3 > &  _v)
noexcept

◆ Vector3u() [6/7]

Vector3u::Vector3u ( Vector3u &&  _v)
noexcept

◆ Vector3u() [7/7]

Vector3u::Vector3u ( Vector< UInt32, 3 > &&  _v)
noexcept

Member Function Documentation

◆ operator Array< UInt32 >()

Vector3u::operator Array< UInt32 > ( )
inlinenoexcept

◆ operator=() [1/5]

Vector3u & Vector3u::operator= ( const Array< UInt32 > &  _other)
inlinenoexcept

◆ operator=() [2/5]

Vector3u & Vector3u::operator= ( const Vector3u _other)
inlinenoexcept

◆ operator=() [3/5]

Vector3u & Vector3u::operator= ( const Vector< UInt32, 3 > &  _other)
inlinenoexcept

◆ operator=() [4/5]

Vector3u & Vector3u::operator= ( Vector3u &&  _other)
inlinenoexcept

◆ operator=() [5/5]

Vector3u & Vector3u::operator= ( Vector< UInt32, 3 > &&  _other)
inlinenoexcept

◆ operator[]() [1/2]

const UInt32 & Vector3u::operator[] ( const unsigned int &  i) const
inlinenoexcept

◆ operator[]() [2/2]

UInt32 & Vector3u::operator[] ( const unsigned int &  i)
inlinenoexcept