22 #ifndef TETRAEDGE_TE_TE_VECTOR2S32_H 23 #define TETRAEDGE_TE_TE_VECTOR2S32_H 25 #include "common/rect.h" 26 #include "common/stream.h" 27 #include "math/vector2d.h" 36 explicit TeVector2s32(
const Math::Vector2d &pt) : _x(pt.getX()), _y(pt.getY()) {};
39 return _x != other._x || _y != other._y;
42 return _x == other._x && _y == other._y;
55 int64 squaredLength()
const {
56 return (int64)_x * _x + (int64)_y * _y;
71 #endif // TETRAEDGE_TE_TE_VECTOR2S32_H Definition: detection.h:27
int16 x
Definition: rect.h:46
Definition: te_vector2s32.h:31
int16 y
Definition: rect.h:47