Public Member Functions | |
| void | Set (T _x, T _y=0) |
| void | Set (const T *apV) |
| tSize | size () const |
| T * | ptr () |
| const T * | ptr () const |
| T & | operator[] (int idx) |
| T | operator[] (int idx) const |
| T & | re () |
| const T & | re () const |
| T & | im () |
| const T & | im () const |
| T & | E () |
| const T & | E () const |
| T & | N () |
| const T & | N () const |
| sVec4< T > | operator[] (const cchar *idx) const |
| bool | operator< (const sVec2< T > &aR) const |
| bool | operator<= (const sVec2< T > &aR) const |
| bool | operator> (const sVec2< T > &aR) const |
| bool | operator>= (const sVec2< T > &aR) const |
| bool | operator== (const sVec2< T > &aR) const |
| bool | operator!= (const sVec2< T > &aR) const |
| sVec2 | operator+ () const |
| sVec2 | operator- () const |
| sVec2 & | operator+= (const sVec2< T > &v) |
| sVec2 & | operator+= (T s) |
| sVec2 | operator+ (const sVec2< T > &v) const |
| sVec2 | operator+ (T s) const |
| sVec2 & | operator-= (const sVec2< T > &v) |
| sVec2 & | operator-= (T s) |
| sVec2 | operator- (const sVec2< T > &v) const |
| sVec2 | operator- (T s) const |
| sVec2 & | operator*= (const sVec2< T > &v) |
| sVec2 & | operator*= (T s) |
| sVec2 | operator* (const sVec2< T > &v) const |
| sVec2 | operator* (T s) const |
| sVec2 & | operator/= (const sVec2< T > &v) |
| sVec2 & | operator/= (T s) |
| sVec2 | operator/ (const sVec2< T > &v) const |
| sVec2 | operator/ (T s) const |
Static Public Member Functions | |
| static const sVec2 & | Zero () |
| static const sVec2 & | One () |
| static const sVec2 & | Epsilon () |
| static const sVec2 & | XAxis () |
| static const sVec2 & | YAxis () |
| static const sVec2 & | OpXAxis () |
| static const sVec2 & | OpYAxis () |
Public Attributes | |
| T | x |
| T | y |
| void Set | ( | T | _x, |
| T | _y = 0 |
||
| ) |
| void Set | ( | const T * | apV | ) |
| tSize size | ( | ) | const |
| T* ptr | ( | ) |
| const T* ptr | ( | ) | const |
| T& operator[] | ( | int | idx | ) |
| T operator[] | ( | int | idx | ) | const |
| T& re | ( | ) |
| const T& re | ( | ) | const |
| T& im | ( | ) |
| const T& im | ( | ) | const |
| T& E | ( | ) |
| const T& E | ( | ) | const |
| T& N | ( | ) |
| const T& N | ( | ) | const |
| bool operator< | ( | const sVec2< T > & | aR | ) | const |
| bool operator<= | ( | const sVec2< T > & | aR | ) | const |
| bool operator> | ( | const sVec2< T > & | aR | ) | const |
| bool operator>= | ( | const sVec2< T > & | aR | ) | const |
| bool operator== | ( | const sVec2< T > & | aR | ) | const |
| bool operator!= | ( | const sVec2< T > & | aR | ) | const |
| sVec2 operator+ | ( | ) | const |
| sVec2 operator- | ( | ) | const |
| sVec2& operator+= | ( | T | s | ) |
| sVec2 operator+ | ( | T | s | ) | const |
| sVec2& operator-= | ( | T | s | ) |
| sVec2 operator- | ( | T | s | ) | const |
| sVec2& operator*= | ( | T | s | ) |
| sVec2 operator* | ( | T | s | ) | const |
| sVec2& operator/= | ( | T | s | ) |
| sVec2 operator/ | ( | T | s | ) | const |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| T x |
| T y |
1.8.7