Support Forum G3D Web Page |
A Vector2 that packs its fields into G3D::unorm16s.
More...
Public Member Functions | |
Vector2unorm16 () | |
Vector2unorm16 (G3D::unorm16 _x, G3D::unorm16 _y) | |
Vector2unorm16 (float _x, float _y) | |
Vector2unorm16 (const class Vector2 &v) | |
Vector2unorm16 (class BinaryInput &bi) | |
Vector2unorm16 (const class Any &a) | |
void | deserialize (class BinaryInput &bi) |
size_t | hashCode () const |
bool | operator!= (const Vector2unorm16 &rkVector) const |
Vector2unorm16 & | operator= (const Any &a) |
bool | operator== (const Vector2unorm16 &rkVector) const |
G3D::unorm16 & | operator[] (int i) |
const G3D::unorm16 & | operator[] (int i) const |
void | serialize (class BinaryOutput &bo) const |
Any | toAny () const |
Public Attributes | |
G3D::unorm16 | x |
G3D::unorm16 | y |
A Vector2 that packs its fields into G3D::unorm16s.
This is mostly useful for texture coordinates that are on the range [0, 1].
|
inline |
|
inline |
|
inline |
|
explicit |
|
explicit |
|
explicit |
void G3D::Vector2unorm16::deserialize | ( | class BinaryInput & | bi | ) |
|
inline |
|
inline |
Vector2unorm16& G3D::Vector2unorm16::operator= | ( | const Any & | a | ) |
|
inline |
|
inline |
|
inline |
void G3D::Vector2unorm16::serialize | ( | class BinaryOutput & | bo | ) | const |
Any G3D::Vector2unorm16::toAny | ( | ) | const |
G3D::unorm16 G3D::Vector2unorm16::x |
G3D::unorm16 G3D::Vector2unorm16::y |