added ball to ball collisions
[physics.git] / src / Vector2.h
index 00b921b..13ffd88 100644 (file)
@@ -39,6 +39,9 @@ class Vector2
 
     float angle() const;
     float length() const;
+    float sqrLength() const;
+
+    float dot(const Vector2&) const;
 
     Vector2 add(const Vector2&) const;
     Vector2 subtract(const Vector2&) const;