Ver Fonte

Travis CI: API documentation update at 2016-02-05 12:05:57 UTC.
[ci package]

Commit: https://github.com/urho3d/Urho3D/commit/45572769c600a9a99e07ead63db04fc426913842

Message: Merge remote-tracking branch 'TheComet93/matrix2'

# Conflicts:
# Source/Urho3D/AngelScript/MathAPI.cpp

urho3d-travis-ci há 10 anos atrás
pai
commit
64877df1e3
4 ficheiros alterados com 46 adições e 1 exclusões
  1. 20 0
      Docs/AngelScriptAPI.h
  2. 1 0
      Docs/LuaScriptAPI.dox
  3. 24 0
      Docs/ScriptAPI.dox
  4. 1 1
      Source/Urho3D/.soversion

+ 20 - 0
Docs/AngelScriptAPI.h

@@ -6257,6 +6257,25 @@ uint useTimer;
 int weakRefs;
 };
 
+class Matrix2
+{
+// Methods:
+bool Equals(const Matrix2&) const;
+Matrix2 Inverse() const;
+Vector2 Scale() const;
+Matrix2 Scaled(const Vector2&) const;
+void SetScale(const Vector2&);
+void SetScale(float);
+String ToString() const;
+Matrix2 Transpose() const;
+
+// Properties:
+float m00;
+float m01;
+float m10;
+float m11;
+};
+
 class Matrix3
 {
 // Methods:
@@ -12605,6 +12624,7 @@ class Vector2
 // Methods:
 Vector2 Abs() const;
 float AbsDotProduct(const Vector2&) const;
+float Angle(const Vector2&) const;
 float DotProduct(const Vector2&) const;
 bool Equals(const Vector2&) const;
 bool IsNaN() const;

+ 1 - 0
Docs/LuaScriptAPI.dox

@@ -6671,6 +6671,7 @@ Methods:
 - 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

+ 24 - 0
Docs/ScriptAPI.dox

@@ -2355,6 +2355,7 @@ namespace Urho3D
 <a href="#Class_Localization"><b>Localization</b></a>
 <a href="#Class_Log"><b>Log</b></a>
 <a href="#Class_Material"><b>Material</b></a>
+<a href="#Class_Matrix2"><b>Matrix2</b></a>
 <a href="#Class_Matrix3"><b>Matrix3</b></a>
 <a href="#Class_Matrix3x4"><b>Matrix3x4</b></a>
 <a href="#Class_Matrix4"><b>Matrix4</b></a>
@@ -7926,6 +7927,28 @@ Properties:
 - uint useTimer // readonly
 - int weakRefs // readonly
 
+<a name="Class_Matrix2"></a>
+
+### Matrix2
+
+Methods:
+
+- bool Equals(const Matrix2&) const
+- Matrix2 Inverse() const
+- Vector2 Scale() const
+- Matrix2 Scaled(const Vector2&) const
+- void SetScale(const Vector2&)
+- void SetScale(float)
+- String ToString() const
+- Matrix2 Transpose() const
+
+Properties:
+
+- float m00
+- float m01
+- float m10
+- float m11
+
 <a name="Class_Matrix3"></a>
 
 ### Matrix3
@@ -13540,6 +13563,7 @@ Methods:
 
 - Vector2 Abs() const
 - float AbsDotProduct(const Vector2&) const
+- float Angle(const Vector2&) const
 - float DotProduct(const Vector2&) const
 - bool Equals(const Vector2&) const
 - bool IsNaN() const

+ 1 - 1
Source/Urho3D/.soversion

@@ -1 +1 @@
-0.0.192
+0.0.193