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


\ Vector3int32 A Vector3 that packs its fields into uint32s. More...

Public Member Functions

 Vector3int32 ()
 
 Vector3int32 (int _x, int _y, int _z)
 
 Vector3int32 (const class Vector2int32 &v, int _z)
 
 Vector3int32 (const class Vector2int16 &v, int _z)
 
 Vector3int32 (const class Vector3int16 &v)
 
 Vector3int32 (const Any &any)
 
 Vector3int32 (const class Vector3 &v)
 Rounds to the nearest int. More...
 
 Vector3int32 (class BinaryInput &bi)
 
Vector3int32 clamp (const Vector3int32 &lo, const Vector3int32 &hi) const
 
void deserialize (class BinaryInput &bi)
 
Vector3int32 max (const Vector3int32 &v) const
 
Vector3int32 min (const Vector3int32 &v) const
 
bool nonZero () const
 
Vector3int32 operator & (int16 i) const
 
bool operator!= (const Vector3int32 &rkVector) const
 
Vector3int32 operator* (const Vector3int32 &other) const
 
Vector3int32 operator* (const int s) const
 
Vector3int32operator*= (const Vector3int32 &other)
 
Vector3int32 operator+ (const Vector3int32 &other) const
 
Vector3int32operator+= (const Vector3int32 &other)
 
Vector3int32 operator- (const Vector3int32 &other) const
 
Vector3int32 operator- () const
 
Vector3int32operator-= (const Vector3int32 &other)
 
Vector3int32 operator/ (const Vector3int32 &other) const
 Integer division. More...
 
Vector3int32 operator/ (const int s) const
 Integer division. More...
 
Vector3int32 operator<< (int i) const
 
Vector3int32 operator<< (const Vector3int32 &v) const
 
bool operator== (const Vector3int32 &rkVector) const
 
Vector3int32 operator>> (int i) const
 
Vector3int32 operator>> (const Vector3int32 &v) const
 
G3D::int32operator[] (int i)
 
const G3D::int32operator[] (int i) const
 
void serialize (class BinaryOutput &bo) const
 
Any toAny () const
 
String toString () const
 
Vector3int32 wrap (const Vector3int32 &w) const
 
Vector2int32 xx () const
 
Vector2int32 xy () const
 
Vector2int32 xz () const
 
Vector2int32 yx () const
 
Vector2int32 yy () const
 
Vector2int32 yz () const
 
Vector2int32 zx () const
 
Vector2int32 zy () const
 
Vector2int32 zz () const
 

Static Public Member Functions

static Vector3int32 truncate (const class Vector3 &v)
 

Public Attributes

G3D::int32 x
 
G3D::int32 y
 
G3D::int32 z
 

Detailed Description


\ Vector3int32 A Vector3 that packs its fields into uint32s.

Constructor & Destructor Documentation

◆ Vector3int32() [1/8]

G3D::Vector3int32::Vector3int32 ( )
inline

◆ Vector3int32() [2/8]

G3D::Vector3int32::Vector3int32 ( int  _x,
int  _y,
int  _z 
)
inline

◆ Vector3int32() [3/8]

G3D::Vector3int32::Vector3int32 ( const class Vector2int32 v,
int  _z 
)

◆ Vector3int32() [4/8]

G3D::Vector3int32::Vector3int32 ( const class Vector2int16 v,
int  _z 
)

◆ Vector3int32() [5/8]

G3D::Vector3int32::Vector3int32 ( const class Vector3int16 v)

◆ Vector3int32() [6/8]

G3D::Vector3int32::Vector3int32 ( const Any any)

◆ Vector3int32() [7/8]

G3D::Vector3int32::Vector3int32 ( const class Vector3 v)
explicit

Rounds to the nearest int.

◆ Vector3int32() [8/8]

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

Member Function Documentation

◆ clamp()

Vector3int32 G3D::Vector3int32::clamp ( const Vector3int32 lo,
const Vector3int32 hi 
) const
inline

Referenced by G3D::clamp().

◆ deserialize()

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

◆ max()

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

◆ min()

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

◆ nonZero()

bool G3D::Vector3int32::nonZero ( ) const
inline

◆ operator &()

Vector3int32 G3D::Vector3int32::operator& ( int16  i) const
inline

◆ operator!=()

bool G3D::Vector3int32::operator!= ( const Vector3int32 rkVector) const
inline

◆ operator*() [1/2]

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

◆ operator*() [2/2]

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

◆ operator*=()

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

◆ operator+()

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

◆ operator+=()

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

◆ operator-() [1/2]

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

◆ operator-() [2/2]

Vector3int32 G3D::Vector3int32::operator- ( ) const
inline

◆ operator-=()

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

◆ operator/() [1/2]

Vector3int32 G3D::Vector3int32::operator/ ( const Vector3int32 other) const
inline

Integer division.

◆ operator/() [2/2]

Vector3int32 G3D::Vector3int32::operator/ ( const int  s) const
inline

Integer division.

◆ operator<<() [1/2]

Vector3int32 G3D::Vector3int32::operator<< ( int  i) const
inline

◆ operator<<() [2/2]

Vector3int32 G3D::Vector3int32::operator<< ( const Vector3int32 v) const
inline

◆ operator==()

bool G3D::Vector3int32::operator== ( const Vector3int32 rkVector) const
inline

◆ operator>>() [1/2]

Vector3int32 G3D::Vector3int32::operator>> ( int  i) const
inline

◆ operator>>() [2/2]

Vector3int32 G3D::Vector3int32::operator>> ( const Vector3int32 v) const
inline

◆ operator[]() [1/2]

G3D::int32& G3D::Vector3int32::operator[] ( int  i)
inline

◆ operator[]() [2/2]

const G3D::int32& G3D::Vector3int32::operator[] ( int  i) const
inline

◆ serialize()

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

◆ toAny()

Any G3D::Vector3int32::toAny ( ) const

◆ toString()

String G3D::Vector3int32::toString ( ) const

◆ truncate()

static Vector3int32 G3D::Vector3int32::truncate ( const class Vector3 v)
static

◆ wrap()

Vector3int32 G3D::Vector3int32::wrap ( const Vector3int32 w) const
inline

◆ xx()

Vector2int32 G3D::Vector3int32::xx ( ) const

◆ xy()

Vector2int32 G3D::Vector3int32::xy ( ) const

◆ xz()

Vector2int32 G3D::Vector3int32::xz ( ) const

◆ yx()

Vector2int32 G3D::Vector3int32::yx ( ) const

◆ yy()

Vector2int32 G3D::Vector3int32::yy ( ) const

◆ yz()

Vector2int32 G3D::Vector3int32::yz ( ) const

◆ zx()

Vector2int32 G3D::Vector3int32::zx ( ) const

◆ zy()

Vector2int32 G3D::Vector3int32::zy ( ) const

◆ zz()

Vector2int32 G3D::Vector3int32::zz ( ) const

Member Data Documentation

◆ x

G3D::int32 G3D::Vector3int32::x

◆ y

G3D::int32 G3D::Vector3int32::y

◆ z

G3D::int32 G3D::Vector3int32::z

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