FCT
|
#include <Vec.h>
Public 成员函数 | |
Vec2 (int x, int y) | |
Vec2 (float x=0.0f, float y=0.0f) | |
Vec2 (uint32_t x, uint32_t y) | |
Vec2 & | operator+= (const Vec2 &rhs) |
Vec2 | operator+ (const Vec2 &rhs) const |
Vec2 | operator- (const Vec2 &rhs) const |
Vec2 | operator* (const Vec2 &rhs) const |
Vec2 | operator* (float scalar) const |
Vec2 | operator/ (float scalar) const |
Vec2 | operator/ (const Vec2 &rhs) const |
bool | operator== (const Vec2 &other) const |
float | length () const |
float | distance (const Vec2 &other) const |
template<class Archive> | |
void | serialize (Archive &ar, const unsigned int version) |
Public 属性 | |
float | x |
float | y |
友元 | |
class | boost::serialization::access |
|
inline |