Browse Source

Adding Lua bindings for Vector2::Angle()

TheComet 10 years ago
parent
commit
bfa6e3de91
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/Urho3D/LuaScript/pkgs/Math/Vector2.pkg

+ 1 - 0
Source/Urho3D/LuaScript/pkgs/Math/Vector2.pkg

@@ -22,6 +22,7 @@ class Vector2
     float LengthSquared() const;
     float DotProduct(const Vector2& rhs) const;
     float AbsDotProduct(const Vector2& rhs) const;
+    float Angle(const Vector2& rhs) const;
     Vector2 Abs() const;
     Vector2 Lerp(const Vector2& rhs, float t) const;
     bool Equals(const Vector2& rhs) const;