Go to the documentation of this file.
2 #ifndef UGDK_MATH_VECTOR2D_H_
3 #define UGDK_MATH_VECTOR2D_H_
8 #pragma SWIG nowarn=312
45 struct {
double x,
y; };
46 struct {
double val[2]; };
147 return (a.
x * b.
x) + (a.
y * b.
y);
186 return x==rhs.
x &&
y==rhs.
y;
238 Vector2D
operator*(
const double &scalar,
const Vector2D &right);
242 #endif // UGDK_MATH_VECTOR2D_H_