#include <vec2t.hpp>
Definition at line 33 of file vec2t.hpp.
Public Types | |
| enum | { X = 0, Y = 1 } |
Public Member Functions | |
| Vec2T () | |
| Vec2T (F f) | |
| Vec2T (const F *f) | |
| Vec2T (F a, F b) | |
| Vec2T (const Vec2T &c) | |
| ~Vec2T () | |
| operator F * () | |
| operator const F * () const | |
| F * | array () |
| F & | operator() (int i) |
| const F & | operator() (int i) const |
| F & | operator[] (int i) |
| const F & | operator[] (int i) const |
| F & | x () |
| F & | y () |
| const F & | x () const |
| const F & | y () const |
| Vec2T & | operator= (const Vec2T &c) |
| Vec2T & | operator+= (const Vec2T &c) |
| Vec2T & | operator-= (const Vec2T &c) |
| Vec2T & | operator *= (const F &s) |
| Vec2T & | operator/= (const F &s) |
| F | l1 (void) const |
| F | linfty (void) const |
| F | l2 (void) const |
| F | length (void) const |
| Vec2T | dir (void) const |
Private Attributes | |
| F | _v [2] |
1.4.5