Support Forum       G3D Web Page     
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
G3D::Vector2uint32 Class Reference


A Vector2 that packs its fields into int32s. More...

Public Member Functions

 Vector2uint32 ()
 
 Vector2uint32 (G3D::uint32 _x, G3D::uint32 _y)
 
 Vector2uint32 (const class Vector2 &v)
 
 Vector2uint32 (class BinaryInput &bi)
 
 Vector2uint32 (const class Vector2int16 &v)
 
 Vector2uint32 (const class Any &a)
 
Vector2uint32 clamp (const Vector2uint32 &lo, const Vector2uint32 &hi)
 
void deserialize (class BinaryInput &bi)
 
Vector2uint32 max (const Vector2uint32 &v) const
 
Vector2uint32 min (const Vector2uint32 &v) const
 
bool operator!= (const Vector2uint32 &other) const
 
Vector2uint32 operator* (const Vector2uint32 &other) const
 
Vector2uint32 operator* (const int s) const
 
Vector2uint32operator*= (const Vector2uint32 &other)
 
Vector2uint32 operator+ (const Vector2uint32 &other) const
 
Vector2uint32operator+= (const Vector2uint32 &other)
 
Vector2uint32 operator- (const Vector2uint32 &other) const
 
Vector2uint32operator-= (const Vector2uint32 &other)
 
Vector2uint32 operator<< (const int s) const
 Shifts both x and y. More...
 
bool operator== (const Vector2uint32 &other) const
 
Vector2uint32 operator>> (const int s) const
 Shifts both x and y. More...
 
G3D::uint32operator[] (int i)
 
const G3D::uint32operator[] (int i) const
 
void serialize (class BinaryOutput &bo) const
 
String toString () const
 

Static Public Member Functions

static Vector2uint32 parseResolution (const String &s)
 

Public Attributes

G3D::uint32 x
 
G3D::uint32 y
 

Detailed Description


A Vector2 that packs its fields into int32s.


A Vector2 that packs its fields into uint8.

Constructor & Destructor Documentation

◆ Vector2uint32() [1/6]

G3D::Vector2uint32::Vector2uint32 ( )
inline

◆ Vector2uint32() [2/6]

G3D::Vector2uint32::Vector2uint32 ( G3D::uint32  _x,
G3D::uint32  _y 
)
inline

◆ Vector2uint32() [3/6]

G3D::Vector2uint32::Vector2uint32 ( const class Vector2 v)
explicit

◆ Vector2uint32() [4/6]

G3D::Vector2uint32::Vector2uint32 ( class BinaryInput bi)
explicit

◆ Vector2uint32() [5/6]

G3D::Vector2uint32::Vector2uint32 ( const class Vector2int16 v)

◆ Vector2uint32() [6/6]

G3D::Vector2uint32::Vector2uint32 ( const class Any a)

Member Function Documentation

◆ clamp()

Vector2uint32 G3D::Vector2uint32::clamp ( const Vector2uint32 lo,
const Vector2uint32 hi 
)

◆ deserialize()

void G3D::Vector2uint32::deserialize ( class BinaryInput bi)

◆ max()

Vector2uint32 G3D::Vector2uint32::max ( const Vector2uint32 v) const
inline

◆ min()

Vector2uint32 G3D::Vector2uint32::min ( const Vector2uint32 v) const
inline

◆ operator!=()

bool G3D::Vector2uint32::operator!= ( const Vector2uint32 other) const
inline

◆ operator*() [1/2]

Vector2uint32 G3D::Vector2uint32::operator* ( const Vector2uint32 other) const
inline

◆ operator*() [2/2]

Vector2uint32 G3D::Vector2uint32::operator* ( const int  s) const
inline

◆ operator*=()

Vector2uint32& G3D::Vector2uint32::operator*= ( const Vector2uint32 other)
inline

◆ operator+()

Vector2uint32 G3D::Vector2uint32::operator+ ( const Vector2uint32 other) const
inline

◆ operator+=()

Vector2uint32& G3D::Vector2uint32::operator+= ( const Vector2uint32 other)
inline

◆ operator-()

Vector2uint32 G3D::Vector2uint32::operator- ( const Vector2uint32 other) const
inline

◆ operator-=()

Vector2uint32& G3D::Vector2uint32::operator-= ( const Vector2uint32 other)
inline

◆ operator<<()

Vector2uint32 G3D::Vector2uint32::operator<< ( const int  s) const
inline

Shifts both x and y.

◆ operator==()

bool G3D::Vector2uint32::operator== ( const Vector2uint32 other) const
inline

◆ operator>>()

Vector2uint32 G3D::Vector2uint32::operator>> ( const int  s) const
inline

Shifts both x and y.

◆ operator[]() [1/2]

G3D::uint32& G3D::Vector2uint32::operator[] ( int  i)
inline

◆ operator[]() [2/2]

const G3D::uint32& G3D::Vector2uint32::operator[] ( int  i) const
inline

◆ parseResolution()

static Vector2uint32 G3D::Vector2uint32::parseResolution ( const String s)
static

◆ serialize()

void G3D::Vector2uint32::serialize ( class BinaryOutput bo) const

◆ toString()

String G3D::Vector2uint32::toString ( ) const

Member Data Documentation

◆ x

G3D::uint32 G3D::Vector2uint32::x

◆ y

G3D::uint32 G3D::Vector2uint32::y

documentation generated on Wed Nov 24 2021 08:02:01 using doxygen 1.8.15