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


A Vector3 that packs its fields into uint16s. More...

Public Member Functions

 Vector3int16 ()
 
 Vector3int16 (G3D::int16 _x, G3D::int16 _y, G3D::int16 _z)
 
 Vector3int16 (const class Vector3 &v)
 
 Vector3int16 (class BinaryInput &bi)
 
void deserialize (class BinaryInput &bi)
 
int dot (const Vector3int16 &v) const
 
Vector3int16 max (const Vector3int16 &v) const
 
Vector3int16 min (const Vector3int16 &v) const
 
Vector3int16 operator & (int16 i) const
 
Vector3int16 operator & (const Vector3int16 &v) const
 
bool operator!= (const Vector3int16 &rkVector) const
 
Vector3int16 operator* (const Vector3int16 &other) const
 
Vector3int16 operator* (const int s) const
 
Vector3int16operator*= (const Vector3int16 &other)
 
Vector3int16 operator+ (const Vector3int16 &other) const
 
Vector3int16operator+= (const Vector3int16 &other)
 
Vector3int16 operator- (const Vector3int16 &other) const
 
Vector3int16 operator- () const
 
Vector3int16operator-= (const Vector3int16 &other)
 
Vector3int16 operator<< (int i) const
 
Vector3int16 operator<< (const Vector3int16 &v) const
 
bool operator== (const Vector3int16 &rkVector) const
 
Vector3int16 operator>> (int i) const
 
Vector3int16 operator>> (const Vector3int16 &v) const
 
G3D::int16operator[] (int i)
 
const G3D::int16operator[] (int i) const
 
void serialize (class BinaryOutput &bo) const
 
String toString () const
 

Static Public Member Functions

static Vector3int16 ceil (const Vector3 &v)
 
static Vector3int16 floor (const Vector3 &v)
 

Public Attributes

G3D::int16 x
 
G3D::int16 y
 
G3D::int16 z
 

Detailed Description


A Vector3 that packs its fields into uint16s.

Constructor & Destructor Documentation

◆ Vector3int16() [1/4]

G3D::Vector3int16::Vector3int16 ( )
inline

◆ Vector3int16() [2/4]

G3D::Vector3int16::Vector3int16 ( G3D::int16  _x,
G3D::int16  _y,
G3D::int16  _z 
)
inline

◆ Vector3int16() [3/4]

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

◆ Vector3int16() [4/4]

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

Member Function Documentation

◆ ceil()

static Vector3int16 G3D::Vector3int16::ceil ( const Vector3 v)
static

◆ deserialize()

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

◆ dot()

int G3D::Vector3int16::dot ( const Vector3int16 v) const
inline

◆ floor()

static Vector3int16 G3D::Vector3int16::floor ( const Vector3 v)
static

◆ max()

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

◆ min()

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

◆ operator &() [1/2]

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

◆ operator &() [2/2]

Vector3int16 G3D::Vector3int16::operator& ( const Vector3int16 v) const
inline

◆ operator!=()

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

◆ operator*() [1/2]

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

◆ operator*() [2/2]

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

◆ operator*=()

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

◆ operator+()

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

◆ operator+=()

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

◆ operator-() [1/2]

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

◆ operator-() [2/2]

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

◆ operator-=()

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

◆ operator<<() [1/2]

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

◆ operator<<() [2/2]

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

◆ operator==()

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

◆ operator>>() [1/2]

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

◆ operator>>() [2/2]

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

◆ operator[]() [1/2]

G3D::int16& G3D::Vector3int16::operator[] ( int  i)
inline

◆ operator[]() [2/2]

const G3D::int16& G3D::Vector3int16::operator[] ( int  i) const
inline

◆ serialize()

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

◆ toString()

String G3D::Vector3int16::toString ( ) const

Member Data Documentation

◆ x

G3D::int16 G3D::Vector3int16::x

◆ y

G3D::int16 G3D::Vector3int16::y

◆ z

G3D::int16 G3D::Vector3int16::z

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