13 #ifndef G3D_Vector3int16_h
14 #define G3D_Vector3int16_h
23 #pragma warning (push)
24 #pragma warning (disable : 4127)
53 void serialize(
class BinaryOutput& bo)
const;
67 return Vector3int16(x + other.x, y + other.y, z + other.z);
71 return Vector3int16(x - other.x, y - other.y, z - other.z);
75 return Vector3int16(x * other.x, y * other.y, z * other.z);
107 return ( x == rkVector.x && y == rkVector.y && z == rkVector.z );
111 return ( x != rkVector.x || y != rkVector.y || z != rkVector.z );
115 return x * v.x + y * v.y + z * v.z;
169 #pragma warning( pop )
unorm16 operator-(const unorm16 other) const
Definition: unorm16.h:131
int16_t int16
Definition: g3dmath.h:165
unorm16 & operator+=(const unorm16 other)
Definition: unorm16.h:126
static Vector3int16 floor(const Vector3 &v)
bool operator!=(const NetAddress &a, const NetAddress &b)
Definition: NetAddress.h:128
Vector3int16 min(const Vector3int16 &v) const
Definition: Vector3int16.h:122
bool operator<=(const unorm16 other) const
Definition: unorm16.h:110
Definition: HashTrait.h:105
unorm16 operator+(const unorm16 other) const
Definition: unorm16.h:122
bool operator<(const unorm16 other) const
Definition: unorm16.h:102
void deserialize(std::string &s, BinaryInput &b)
Definition: serialize.h:16
bool operator==(const NetAddress &a, const NetAddress &b)
Definition: NetAddress.h:123
T max(const T &x, const T &y)
Definition: g3dmath.h:320
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
Vector3int16
Definition: Vector3int16.h:35
#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
Vector3int16 max(const Vector3int16 &v) const
Definition: Vector3int16.h:118
G3D::int16 & operator[](int i)
Definition: Vector2int16.h:51
static size_t hashCode(const G3D::Vector3int16 &key)
Definition: Vector3int16.h:164
bool operator>=(const unorm16 other) const
Definition: unorm16.h:106
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
float dot(float a, float b)
Definition: g3dmath.h:445
G3D::int16 x
Definition: Vector2int16.h:37
static Vector3int16 ceil(const Vector3 &v)
Definition: Vector3int16.cpp:55
G3D::Color3 operator*(float s, const G3D::Color3 &c)
Definition: Color3.h:275