| Support Forum G3D Web Page |
Homogeneous vector stored efficiently in four signed int8s.
More...
Public Member Functions | |
| Vector4int8 () | |
| Vector4int8 (const Vector4 &source) | |
| Multiplies the source by 127 and clamps to (-128, 127) when converting. More... | |
| Vector4int8 (const Vector3 &source, int8 w) | |
| Multiplies the source by 127 and clamps to (-128, 127) when converting. More... | |
| Vector4int8 (int8 x, int8 y, int8 z, int8 w) | |
| Vector4int8 (class BinaryInput &b) | |
| void | deserialize (class BinaryInput &b) |
| unsigned int | hashCode () const |
| operator const int8 * () const | |
| operator int8 * () | |
| bool | operator!= (const Vector4int8 &other) const |
| Vector4int8 & | operator= (const Vector4int8 &other) |
| bool | operator== (const Vector4int8 &other) const |
| int8 & | operator[] (int i) |
| const int8 & | operator[] (int i) const |
| void | serialize (class BinaryOutput &b) const |
Public Attributes | |
| int8 | w |
| int8 | x |
| int8 | y |
| int8 | z |
Homogeneous vector stored efficiently in four signed int8s.
|
inline |
|
explicit |
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 |
| void G3D::Vector4int8::deserialize | ( | class BinaryInput & | b | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
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 |
1.8.15