|
OSG
3.4.0
|
#include <Vec2us.h>
Public Types | |
| enum | { num_components = 2 } |
| typedef unsigned short | value_type |
Public Member Functions | |
| Vec2us () | |
| Vec2us (value_type x, value_type y) | |
| bool | operator== (const Vec2us &v) const |
| bool | operator!= (const Vec2us &v) const |
| bool | operator< (const Vec2us &v) const |
| value_type * | ptr () |
| const value_type * | ptr () const |
| void | set (value_type x, value_type y) |
| void | set (const Vec2us &rhs) |
| value_type & | operator[] (int i) |
| value_type | operator[] (int i) const |
| value_type & | x () |
| value_type & | y () |
| value_type | x () const |
| value_type | y () const |
| value_type & | r () |
| value_type & | g () |
| value_type | r () const |
| value_type | g () const |
| Vec2us | operator* (value_type rhs) const |
| Vec2us & | operator*= (value_type rhs) |
| Vec2us | operator/ (value_type rhs) const |
| Vec2us & | operator/= (value_type rhs) |
| Vec2us | operator+ (const Vec2us &rhs) const |
| Vec2us & | operator+= (const Vec2us &rhs) |
| Vec2us | operator- (const Vec2us &rhs) const |
| Vec2us & | operator-= (const Vec2us &rhs) |
Public Attributes | |
| value_type | _v [2] |
| typedef unsigned short osg::Vec2us::value_type |
| anonymous enum |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| value_type osg::Vec2us::_v[2] |
1.8.8