Searched defs:Vector2 (Results 1 – 3 of 3) 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
14 using Vector2 = Vector<T, 2>; variable
26 class Vector2 @JvmOverloads constructor(val x: Float, val y: Float) { class