TrinityCore
|
#include <Vector4int8.h>
Public Member Functions | |
Vector4int8 () | |
Vector4int8 (const Vector4 &source) | |
Vector4int8 (const Vector3 &source, int8 w) | |
Vector4int8 (int8 x, int8 y, int8 z, int8 w) | |
Vector4int8 (class BinaryInput &b) | |
void | serialize (class BinaryOutput &b) const |
void | deserialize (class BinaryInput &b) |
operator int8 * () | |
operator const int8 * () const | |
int8 & | operator[] (int i) |
const int8 & | operator[] (int i) const |
Vector4int8 & | operator= (const Vector4int8 &other) |
bool | operator== (const Vector4int8 &other) const |
bool | operator!= (const Vector4int8 &other) const |
unsigned int | hashCode () const |
Public Attributes | |
int8 | x |
int8 | y |
int8 | z |
int8 | w |
Private Member Functions | |
bool | operator< (const Vector4int8 &) const |
bool | operator> (const Vector4int8 &) const |
bool | operator<= (const Vector4int8 &) const |
bool | operator>= (const Vector4int8 &) const |
uint32 & | asInt32 () |
const uint32 & | asInt32 () const |
Homogeneous vector stored efficiently in four signed int8s.
|
inline |
Multiplies the source by 127 and clamps to (-128, 127) when converting
Multiplies the source by 127 and clamps to (-128, 127) when converting
|
explicit |
|
inlineprivate |
void G3D::Vector4int8::deserialize | ( | class BinaryInput & | b | ) |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
inline |
|
inline |
|
private |
|
private |
|
inline |
void G3D::Vector4int8::serialize | ( | class BinaryOutput & | b | ) | const |
int8 G3D::Vector4int8::w |
int8 G3D::Vector4int8::x |
int8 G3D::Vector4int8::y |
int8 G3D::Vector4int8::z |