Contents User Forum Source Index APIs by Task APIs by Level Data


G3D::Vector4int8 Class Reference

Homogeneous vector stored efficiently in four signed int8s. More...

#include <Vector4int8.h>

List of all members.

Public Member Functions

void deserialize (class BinaryInput &b)
unsigned int hashCode () const
 operator const int8 * () const
 operator int8 * ()
bool operator!= (const Vector4int8 &other) const
Vector4int8operator= (const Vector4int8 &other)
bool operator== (const Vector4int8 &other) const
const int8operator[] (int i) const
int8operator[] (int i)
void serialize (class BinaryOutput &b) const
 Vector4int8 (class BinaryInput &b)
 Vector4int8 (int8 x, int8 y, int8 z, int8 w)
 Vector4int8 (const Vector3 &source, int8 w)
 Vector4int8 (const Vector4 &source)
 Vector4int8 ()

Public Attributes

int8 w
int8 x
int8 y
int8 z


Detailed Description

Homogeneous vector stored efficiently in four signed int8s.


Constructor & Destructor Documentation

G3D::Vector4int8::Vector4int8 (  )  [inline]

G3D::Vector4int8::Vector4int8 ( const Vector4 source  ) 

Multiplies the source by 127 and clamps to (-128, 127) when converting.

G3D::Vector4int8::Vector4int8 ( const Vector3 source,
int8  w 
)

Multiplies the source by 127 and clamps to (-128, 127) when converting.

G3D::Vector4int8::Vector4int8 ( int8  x,
int8  y,
int8  z,
int8  w 
) [inline]

G3D::Vector4int8::Vector4int8 ( class BinaryInput b  ) 


Member Function Documentation

void G3D::Vector4int8::deserialize ( class BinaryInput b  ) 

unsigned int G3D::Vector4int8::hashCode (  )  const [inline]

G3D::Vector4int8::operator const int8 * (  )  const [inline]

G3D::Vector4int8::operator int8 * (  )  [inline]

bool G3D::Vector4int8::operator!= ( const Vector4int8 other  )  const [inline]

Vector4int8& G3D::Vector4int8::operator= ( const Vector4int8 other  )  [inline]

bool G3D::Vector4int8::operator== ( const Vector4int8 other  )  const [inline]

const int8& G3D::Vector4int8::operator[] ( int  i  )  const [inline]

int8& G3D::Vector4int8::operator[] ( int  i  )  [inline]

void G3D::Vector4int8::serialize ( class BinaryOutput b  )  const


Member Data Documentation


The documentation for this class was generated from the following file:
Generated on Thu Aug 2 11:40:48 2007 for G3D by doxygen 1.5.2
Hosted by SourceForge.net Logo