Searched defs:Vector2 (Results 1 – 1 of 1) sorted by relevance
31 struct Vector2 { struct39 void operator+=(const Vector2& v) { argument83 Vector2 copyNormalized() const { in copyNormalized() argument89 float dot(const Vector2& v) const { return x * v.x + y * v.y; } in dot() argument91 float cross(const Vector2& v) const { return x * v.y - y * v.x; } in cross() argument93 void dump() { ALOGD("Vector2[%.2f, %.2f]", x, y); } in dump() argument