#include <adsomath.h>
Public Member Functions | |
| v2f | hat () |
| float | length () |
| float | dist (v2f p) |
| v2f | norm () |
| v2f | operator= (const v2f v) |
| int | operator== (const v2f a) |
| v2f | operator+ (const v2f a) |
| v2f | operator- (const v2f a) |
| v2f | operator * (const v2f a) |
| v2f | operator/ (const float d) |
| v2f | operator * (const float m) |
| v2f (float cx, float cy) | |
| v2f (class p3f p) | |
| v2f () | |
Public Attributes | |
| float | x |
| float | y |
Friends | |
| v2f | operator * (const float m, v2f v) |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
1.3.2