12 #ifndef G3D_Vector3int32_h
13 #define G3D_Vector3int32_h
57 return (x != 0) || (y != 0) || (z != 0);
60 void serialize(
class BinaryOutput& bo)
const;
74 return Vector3int32(x + other.x, y + other.y, z + other.z);
78 return Vector3int32(x - other.x, y - other.y, z - other.z);
82 return Vector3int32(x * other.x, y * other.y, z * other.z);
91 return Vector3int32(x / other.x, y / other.y, z / other.z);
121 return ( x == rkVector.x && y == rkVector.y && z == rkVector.z );
125 return ( x != rkVector.x || y != rkVector.y || z != rkVector.z );
Vector3int32
Definition: Vector3int32.h:29
unorm16 operator-(const unorm16 other) const
Definition: unorm16.h:131
unorm16 & operator+=(const unorm16 other)
Definition: unorm16.h:126
bool operator!=(const NetAddress &a, const NetAddress &b)
Definition: NetAddress.h:128
uint32_t superFastHash(const void *_data, size_t numBytes)
A hash function that is faster than CRC32 for arbitrary long strings http://www.azillionmonkeys.com/qed/hash.html by Paul Hsieh.
Definition: HashTrait.h:35
bool operator<=(const unorm16 other) const
Definition: unorm16.h:110
Definition: HashTrait.h:105
bool any(float x)
Definition: g3dmath.h:424
unorm16 operator+(const unorm16 other) const
Definition: unorm16.h:122
int iFloor(double fValue)
Definition: g3dmath.h:603
bool operator<(const unorm16 other) const
Definition: unorm16.h:102
Vector3int32 Point3int32
Definition: Vector3int32.h:176
void deserialize(std::string &s, BinaryInput &b)
Definition: serialize.h:16
G3D::Color3 operator/(float s, const G3D::Color3 &c)
Definition: Color3.h:287
bool operator==(const NetAddress &a, const NetAddress &b)
Definition: NetAddress.h:123
T max(const T &x, const T &y)
Definition: g3dmath.h:320
static size_t hashCode(const G3D::Vector3int32 &key)
Definition: Vector3int32.h:183
T min(const T &x, const T &y)
Definition: g3dmath.h:305
unorm16 & operator-=(const unorm16 other)
Definition: unorm16.h:135
void serialize(const std::string &s, BinaryOutput &b)
Definition: serialize.h:12
#define debugAssert(exp)
Definition: debugAssert.h:160
G3D::int16 z
Definition: Vector3int16.h:46
std::string toString() const
Vector3int16 operator&(int16 i) const
Definition: Vector3int16.h:149
unorm16 & operator*=(const int i)
Definition: unorm16.h:144
G3D::int16 y
Definition: Vector2int16.h:38
G3D::int16 & operator[](int i)
Definition: Vector2int16.h:51
bool operator>=(const unorm16 other) const
Definition: unorm16.h:106
static Vector3int32 truncate(const class Vector3 &v)
Definition: Vector3int32.cpp:86
bool nonZero() const
Definition: Vector3int32.h:56
bool operator>(const unorm16 other) const
Definition: unorm16.h:98
std::ostream & operator<<(std::ostream &os, const NetAddress &)
Definition: NetworkDevice.cpp:26
unorm16 operator>>(const int i) const
Definition: unorm16.h:167
int32_t int32
Definition: g3dmath.h:167
int16_t int16
Definition: Define.h:147
#define const
Definition: zconf.h:217
G3D::int16 x
Definition: Vector2int16.h:37
int iMax(int x, int y)
Definition: g3dmath.h:759
Definition: Vector2int16.h:22
G3D::Color3 operator*(float s, const G3D::Color3 &c)
Definition: Color3.h:275
int iMin(int x, int y)
Definition: g3dmath.h:753