Browse Source

Travis CI: API documentation update at 2017-02-02 16:55:43 UTC.
[ci package]

Commit: https://github.com/urho3d/Urho3D/commit/4dce27a248c980a1988490b02c06661f16bc4ff0

Message: Add missing IntVector3 global functions to Angelscript.

urho3d-travis-ci 9 years ago
parent
commit
638398faa8
4 changed files with 129 additions and 13 deletions
  1. 26 0
      Docs/AngelScriptAPI.h
  2. 72 12
      Docs/LuaScriptAPI.dox
  3. 30 0
      Docs/ScriptAPI.dox
  4. 1 1
      Source/Urho3D/.soversion

+ 26 - 0
Docs/AngelScriptAPI.h

@@ -2607,6 +2607,7 @@ bool enabledEffective;
 float frequencyHz;
 /* readonly */
 uint id;
+float length;
 /* readonly */
 Node node;
 /* readonly */
@@ -5576,6 +5577,21 @@ int x;
 int y;
 };
 
+class IntVector3
+{
+// Methods:
+float Length() const;
+uint ToHash() const;
+String ToString() const;
+
+// Properties:
+/* readonly */
+Array<int> data;
+int x;
+int y;
+int z;
+};
+
 class JSONFile
 {
 // Methods:
@@ -11452,6 +11468,7 @@ float ToFloat() const;
 int ToInt(int = 10) const;
 IntRect ToIntRect() const;
 IntVector2 ToIntVector2() const;
+IntVector3 ToIntVector3() const;
 String ToLower() const;
 Matrix3 ToMatrix3() const;
 Matrix3x4 ToMatrix3x4() const;
@@ -13281,6 +13298,7 @@ uint GetUInt() const;
 Array<Variant> GetVariantVector() const;
 const IntRect& GetIntRect() const;
 const IntVector2& GetIntVector2() const;
+const IntVector3& GetIntVector3() const;
 const Matrix3& GetMatrix3() const;
 const Matrix3x4& GetMatrix3x4() const;
 const Matrix4& GetMatrix4() const;
@@ -14056,6 +14074,7 @@ float GetFloat(const String&) const;
 int GetInt(const String&) const;
 IntRect GetIntRect(const String&) const;
 IntVector2 GetIntVector2(const String&) const;
+IntVector3 GetIntVector3(const String&) const;
 Matrix3 GetMatrix3(const String&) const;
 Matrix3x4 GetMatrix3x4(const String&) const;
 Matrix4 GetMatrix4(const String&) const;
@@ -14093,6 +14112,7 @@ bool SetFloat(const String&, float);
 bool SetInt(const String&, int);
 bool SetIntRect(const String&, const IntRect&);
 bool SetIntVector2(const String&, const IntVector2&);
+bool SetIntVector3(const String&, const IntVector3&);
 bool SetMatrix3(const String&, const Matrix3&);
 bool SetMatrix3x4(const String&, const Matrix3x4&);
 bool SetMatrix4(const String&, const Matrix4&);
@@ -14846,6 +14866,7 @@ VAR_VARIANTVECTOR,
 VAR_VARIANTMAP,
 VAR_INTRECT,
 VAR_INTVECTOR2,
+VAR_INTVECTOR3,
 VAR_PTR,
 VAR_MATRIX3,
 VAR_MATRIX3X4,
@@ -15026,18 +15047,22 @@ Vector2 VectorCeil(const Vector2&);
 Vector3 VectorCeil(const Vector3&);
 Vector4 VectorCeil(const Vector4&);
 IntVector2 VectorCeilToInt(const Vector2&);
+IntVector3 VectorCeilToInt(const Vector3&);
 Vector2 VectorFloor(const Vector2&);
 Vector3 VectorFloor(const Vector3&);
 Vector4 VectorFloor(const Vector4&);
 IntVector2 VectorFloorToInt(const Vector2&);
+IntVector3 VectorFloorToInt(const Vector3&);
 Vector2 VectorLerp(const Vector2&, const Vector2&, const Vector2&);
 Vector3 VectorLerp(const Vector3&, const Vector3&, const Vector3&);
 Vector4 VectorLerp(const Vector4&, const Vector4&, const Vector4&);
 IntVector2 VectorMax(const IntVector2&, const IntVector2&);
+IntVector3 VectorMax(const IntVector3&, const IntVector3&);
 Vector2 VectorMax(const Vector2&, const Vector2&);
 Vector3 VectorMax(const Vector3&, const Vector3&);
 Vector4 VectorMax(const Vector4&, const Vector4&);
 IntVector2 VectorMin(const IntVector2&, const IntVector2&);
+IntVector3 VectorMin(const IntVector3&, const IntVector3&);
 Vector2 VectorMin(const Vector2&, const Vector2&);
 Vector3 VectorMin(const Vector3&, const Vector3&);
 Vector4 VectorMin(const Vector4&, const Vector4&);
@@ -15045,6 +15070,7 @@ Vector2 VectorRound(const Vector2&);
 Vector3 VectorRound(const Vector3&);
 Vector4 VectorRound(const Vector4&);
 IntVector2 VectorRoundToInt(const Vector2&);
+IntVector3 VectorRoundToInt(const Vector3&);
 bool WriteDrawablesToOBJ(Array<Drawable>, File, bool, bool, bool = false);
 
 // Global properties

+ 72 - 12
Docs/LuaScriptAPI.dox

@@ -98,6 +98,7 @@ namespace Urho3D
 <a href="#Class_Input"><b>Input</b></a>
 <a href="#Class_IntRect"><b>IntRect</b></a>
 <a href="#Class_IntVector2"><b>IntVector2</b></a>
+<a href="#Class_IntVector3"><b>IntVector3</b></a>
 <a href="#Class_JSONFile"><b>JSONFile</b></a>
 <a href="#Class_JSONValue"><b>JSONValue</b></a>
 <a href="#Class_JoystickState"><b>JoystickState</b></a>
@@ -1402,10 +1403,12 @@ Methods:
 - void SetOtherBodyAnchor(const Vector2& anchor)
 - void SetFrequencyHz(float frequencyHz)
 - void SetDampingRatio(float dampingRatio)
+- void SetLength(float length)
 - const Vector2& GetOwnerBodyAnchor() const
 - const Vector2& GetOtherBodyAnchor() const
 - float GetFrequencyHz() const
 - float GetDampingRatio() const
+- float GetLength() const
 
 Properties:
 
@@ -1413,6 +1416,7 @@ Properties:
 - Vector2& otherBodyAnchor
 - float frequencyHz
 - float dampingRatio
+- float length
 
 <a name="Class_ConstraintFriction2D"></a>
 ### ConstraintFriction2D : Constraint2D
@@ -2023,6 +2027,7 @@ Methods:
 - double ReadDouble()
 - IntRect ReadIntRect()
 - IntVector2 ReadIntVector2()
+- IntVector3 ReadIntVector3()
 - Rect ReadRect()
 - Vector2 ReadVector2()
 - Vector3 ReadVector3()
@@ -2260,6 +2265,7 @@ Methods:
 - double ReadDouble()
 - IntRect ReadIntRect()
 - IntVector2 ReadIntVector2()
+- IntVector3 ReadIntVector3()
 - Rect ReadRect()
 - Vector2 ReadVector2()
 - Vector3 ReadVector3()
@@ -2299,6 +2305,7 @@ Methods:
 - bool WriteDouble(double value)
 - bool WriteIntRect(const IntRect& value)
 - bool WriteIntVector2(const IntVector2& value)
+- bool WriteIntVector3(const IntVector3& value)
 - bool WriteRect(const Rect& value)
 - bool WriteVector2(const Vector2& value)
 - bool WriteVector3(const Vector3& value)
@@ -2674,6 +2681,7 @@ Methods:
 - double ReadDouble()
 - IntRect ReadIntRect()
 - IntVector2 ReadIntVector2()
+- IntVector3 ReadIntVector3()
 - Rect ReadRect()
 - Vector2 ReadVector2()
 - Vector3 ReadVector3()
@@ -2932,6 +2940,43 @@ Properties:
 - int y
 - const IntVector2 ZERO
 
+<a name="Class_IntVector3"></a>
+### IntVector3
+
+
+Methods:
+
+- IntVector3() (GC)
+- IntVector3* new()
+- IntVector3(int x, int y, int z) (GC)
+- IntVector3* new(int x, int y, int z)
+- IntVector3(const IntVector3& rhs) (GC)
+- IntVector3* new(const IntVector3& rhs)
+- void delete()
+- bool operator==(const IntVector3& rhs) const
+- IntVector3 operator+(const IntVector3& rhs) const
+- IntVector3 operator-() const
+- IntVector3 operator-(const IntVector3& rhs) const
+- IntVector3 operator*(int rhs) const
+- IntVector3 operator/(int rhs) const
+- String ToString() const
+- unsigned ToHash() const
+- float Length() const
+
+Properties:
+
+- int x
+- int y
+- int z
+- const IntVector3 ZERO
+- const IntVector3 LEFT
+- const IntVector3 RIGHT
+- const IntVector3 UP
+- const IntVector3 DOWN
+- const IntVector3 FORWARD
+- const IntVector3 BACK
+- const IntVector3 ONE
+
 <a name="Class_JSONFile"></a>
 ### JSONFile : Resource
 
@@ -3640,6 +3685,7 @@ Methods:
 - double ReadDouble()
 - IntRect ReadIntRect()
 - IntVector2 ReadIntVector2()
+- IntVector3 ReadIntVector3()
 - Rect ReadRect()
 - Vector2 ReadVector2()
 - Vector3 ReadVector3()
@@ -3677,6 +3723,7 @@ Methods:
 - bool WriteDouble(double value)
 - bool WriteIntRect(const IntRect& value)
 - bool WriteIntVector2(const IntVector2& value)
+- bool WriteIntVector3(const IntVector3& value)
 - bool WriteRect(const Rect& value)
 - bool WriteVector2(const Vector2& value)
 - bool WriteVector3(const Vector3& value)
@@ -5678,6 +5725,7 @@ Methods:
 - bool WriteDouble(double value)
 - bool WriteIntRect(const IntRect& value)
 - bool WriteIntVector2(const IntVector2& value)
+- bool WriteIntVector3(const IntVector3& value)
 - bool WriteRect(const Rect& value)
 - bool WriteVector2(const Vector2& value)
 - bool WriteVector3(const Vector3& value)
@@ -7158,6 +7206,7 @@ Methods:
 - const Rect& GetRect() const
 - const IntRect& GetIntRect() const
 - const IntVector2& GetIntVector2() const
+- const IntVector3& GetIntVector3() const
 - RefCounted* GetPtr(const char* type) const
 - const Matrix3& GetMatrix3() const
 - const Matrix3x4& GetMatrix3x4() const
@@ -7366,6 +7415,7 @@ Methods:
 - double ReadDouble()
 - IntRect ReadIntRect()
 - IntVector2 ReadIntVector2()
+- IntVector3 ReadIntVector3()
 - Rect ReadRect()
 - Vector2 ReadVector2()
 - Vector3 ReadVector3()
@@ -7405,6 +7455,7 @@ Methods:
 - bool WriteDouble(double value)
 - bool WriteIntRect(const IntRect& value)
 - bool WriteIntVector2(const IntVector2& value)
+- bool WriteIntVector3(const IntVector3& value)
 - bool WriteRect(const Rect& value)
 - bool WriteVector2(const Vector2& value)
 - bool WriteVector3(const Vector3& value)
@@ -7621,6 +7672,7 @@ Methods:
 - bool SetInt(const String name, int value)
 - bool SetIntRect(const String name, const IntRect& value)
 - bool SetIntVector2(const String name, const IntVector2& value)
+- bool SetIntVector3(const String name, const IntVector3& value)
 - bool SetRect(const String name, const Rect& value)
 - bool SetQuaternion(const String name, const Quaternion& value)
 - bool SetString(const String name, const String value)
@@ -7659,6 +7711,7 @@ Methods:
 - int GetInt(const String name) const
 - IntRect GetIntRect(const String name) const
 - IntVector2 GetIntVector2(const String name) const
+- IntVector3 GetIntVector3(const String name) const
 - Rect GetRect(const String name) const
 - Quaternion GetQuaternion(const String name) const
 - Variant GetVariant() const
@@ -8301,6 +8354,7 @@ Properties:
 - int VAR_DOUBLE
 - int VAR_STRINGVECTOR
 - int VAR_RECT
+- int VAR_INTVECTOR3
 - int MAX_VAR_TYPES
 
 ### VertexElementSemantic
@@ -8423,8 +8477,8 @@ Properties:
 - Renderer* GetRenderer()
 - Time* GetTime()
 - UI* GetUI()
-- bool HasSubscribedToEvent(const String eventName)
 - bool HasSubscribedToEvent(Object* sender, const String eventName)
+- bool HasSubscribedToEvent(const String eventName)
 - float InverseLerp(float lhs, float rhs, float x)
 - bool IsAbsolutePath(const String pathName)
 - bool IsAlpha(unsigned ch)
@@ -8444,8 +8498,8 @@ Properties:
 - void PrintLine(const String str, bool error = false)
 - int Rand()
 - float RandStandardNormal()
-- float Random(float range)
 - float Random()
+- float Random(float range)
 - float Random(float min, float max)
 - int RandomInt(int range)
 - int RandomInt(int min, int max)
@@ -8468,8 +8522,8 @@ Properties:
 - float StableRandom(float seed)
 - float StableRandom(const Vector3& seed)
 - float StableRandom(const Vector2& seed)
-- void SubscribeToEvent(const String eventName, void* functionOrFunctionName)
 - void SubscribeToEvent(void* sender, const String eventName, void* functionOrFunctionName)
+- void SubscribeToEvent(const String eventName, void* functionOrFunctionName)
 - float Tan(float angle)
 - bool ToBool(const String source)
 - Color ToColor(const String source)
@@ -8477,6 +8531,7 @@ Properties:
 - int ToInt(const String source, int base = 10)
 - IntRect ToIntRect(const String source)
 - IntVector2 ToIntVector2(const String source)
+- IntVector3 ToIntVector3(const String source)
 - unsigned ToLower(unsigned ch)
 - Matrix3 ToMatrix3(const String source)
 - Matrix3x4 ToMatrix3x4(const String source)
@@ -8492,31 +8547,36 @@ Properties:
 - Vector4 ToVector4(const String source, bool allowMissingCoords = false)
 - void UnsubscribeFromAllEvents()
 - void UnsubscribeFromAllEventsExcept(const Vector<String>& exceptionNames)
-- void UnsubscribeFromEvent(Object* sender, const String eventName)
 - void UnsubscribeFromEvent(const String eventName)
+- void UnsubscribeFromEvent(Object* sender, const String eventName)
 - void UnsubscribeFromEvents(Object* sender)
-- Vector3 VectorCeil(const Vector3& vec)
 - Vector2 VectorCeil(const Vector2& vec)
 - Vector4 VectorCeil(const Vector4& vec)
+- Vector3 VectorCeil(const Vector3& vec)
 - IntVector2 VectorCeilToInt(const Vector2& vec)
+- IntVector3 VectorCeilToInt(const Vector3& vec)
 - Vector4 VectorFloor(const Vector4& vec)
-- Vector2 VectorFloor(const Vector2& vec)
 - Vector3 VectorFloor(const Vector3& vec)
+- Vector2 VectorFloor(const Vector2& vec)
+- IntVector3 VectorFloorToInt(const Vector3& vec)
 - IntVector2 VectorFloorToInt(const Vector2& vec)
 - Vector2 VectorLerp(const Vector2& lhs, const Vector2& rhs, const Vector2& t)
-- Vector4 VectorLerp(const Vector4& lhs, const Vector4& rhs, const Vector4& t)
 - Vector3 VectorLerp(const Vector3& lhs, const Vector3& rhs, const Vector3& t)
-- IntVector2 VectorMax(const IntVector2& lhs, const IntVector2& rhs)
-- Vector3 VectorMax(const Vector3& lhs, const Vector3& rhs)
-- Vector2 VectorMax(const Vector2& lhs, const Vector2& rhs)
+- Vector4 VectorLerp(const Vector4& lhs, const Vector4& rhs, const Vector4& t)
 - Vector4 VectorMax(const Vector4& lhs, const Vector4& rhs)
+- IntVector3 VectorMax(const IntVector3& lhs, const IntVector3& rhs)
+- Vector2 VectorMax(const Vector2& lhs, const Vector2& rhs)
+- Vector3 VectorMax(const Vector3& lhs, const Vector3& rhs)
+- IntVector2 VectorMax(const IntVector2& lhs, const IntVector2& rhs)
 - Vector2 VectorMin(const Vector2& lhs, const Vector2& rhs)
+- IntVector3 VectorMin(const IntVector3& lhs, const IntVector3& rhs)
 - Vector4 VectorMin(const Vector4& lhs, const Vector4& rhs)
-- Vector3 VectorMin(const Vector3& lhs, const Vector3& rhs)
 - IntVector2 VectorMin(const IntVector2& lhs, const IntVector2& rhs)
-- Vector3 VectorRound(const Vector3& vec)
+- Vector3 VectorMin(const Vector3& lhs, const Vector3& rhs)
 - Vector2 VectorRound(const Vector2& vec)
+- Vector3 VectorRound(const Vector3& vec)
 - Vector4 VectorRound(const Vector4& vec)
+- IntVector3 VectorRoundToInt(const Vector3& vec)
 - IntVector2 VectorRoundToInt(const Vector2& vec)
 
 

+ 30 - 0
Docs/ScriptAPI.dox

@@ -1213,6 +1213,7 @@ namespace Urho3D
 - %Other %Body %Anchor : Vector2
 - %Frequency %Hz : float
 - %Damping %Ratio : float
+- %Length : float
 - %Collide %Connected : bool
 
 ### ConstraintFriction2D
@@ -2643,6 +2644,7 @@ namespace Urho3D
 <a href="#Class_Input"><b>Input</b></a>
 <a href="#Class_IntRect"><b>IntRect</b></a>
 <a href="#Class_IntVector2"><b>IntVector2</b></a>
+<a href="#Class_IntVector3"><b>IntVector3</b></a>
 <a href="#Class_JSONFile"><b>JSONFile</b></a>
 <a href="#Class_JSONValue"><b>JSONValue</b></a>
 <a href="#Class_JoystickState"><b>JoystickState</b></a>
@@ -5080,6 +5082,7 @@ Properties:
 - bool enabledEffective // readonly
 - float frequencyHz
 - uint id // readonly
+- float length
 - Node@ node // readonly
 - uint numAttributes // readonly
 - ObjectAnimation@ objectAnimation
@@ -7657,6 +7660,23 @@ Properties:
 - int x
 - int y
 
+<a name="Class_IntVector3"></a>
+
+### IntVector3
+
+Methods:
+
+- float Length() const
+- uint ToHash() const
+- String ToString() const
+
+Properties:
+
+- int[] data // readonly
+- int x
+- int y
+- int z
+
 <a name="Class_JSONFile"></a>
 
 ### JSONFile
@@ -12900,6 +12920,7 @@ Methods:
 - int ToInt(int = 10) const
 - IntRect ToIntRect() const
 - IntVector2 ToIntVector2() const
+- IntVector3 ToIntVector3() const
 - String ToLower() const
 - Matrix3 ToMatrix3() const
 - Matrix3x4 ToMatrix3x4() const
@@ -14451,6 +14472,7 @@ Methods:
 - Variant[]@ GetVariantVector() const
 - const IntRect& GetIntRect() const
 - const IntVector2& GetIntVector2() const
+- const IntVector3& GetIntVector3() const
 - const Matrix3& GetMatrix3() const
 - const Matrix3x4& GetMatrix3x4() const
 - const Matrix4& GetMatrix4() const
@@ -15160,6 +15182,7 @@ Methods:
 - int GetInt(const String&) const
 - IntRect GetIntRect(const String&) const
 - IntVector2 GetIntVector2(const String&) const
+- IntVector3 GetIntVector3(const String&) const
 - Matrix3 GetMatrix3(const String&) const
 - Matrix3x4 GetMatrix3x4(const String&) const
 - Matrix4 GetMatrix4(const String&) const
@@ -15197,6 +15220,7 @@ Methods:
 - bool SetInt(const String&, int)
 - bool SetIntRect(const String&, const IntRect&)
 - bool SetIntVector2(const String&, const IntVector2&)
+- bool SetIntVector3(const String&, const IntVector3&)
 - bool SetMatrix3(const String&, const Matrix3&)
 - bool SetMatrix3x4(const String&, const Matrix3x4&)
 - bool SetMatrix4(const String&, const Matrix4&)
@@ -15926,6 +15950,7 @@ Properties:
 - VAR_VARIANTMAP
 - VAR_INTRECT
 - VAR_INTVECTOR2
+- VAR_INTVECTOR3
 - VAR_PTR
 - VAR_MATRIX3
 - VAR_MATRIX3X4
@@ -16105,18 +16130,22 @@ Properties:
 - Vector3 VectorCeil(const Vector3&)
 - Vector4 VectorCeil(const Vector4&)
 - IntVector2 VectorCeilToInt(const Vector2&)
+- IntVector3 VectorCeilToInt(const Vector3&)
 - Vector2 VectorFloor(const Vector2&)
 - Vector3 VectorFloor(const Vector3&)
 - Vector4 VectorFloor(const Vector4&)
 - IntVector2 VectorFloorToInt(const Vector2&)
+- IntVector3 VectorFloorToInt(const Vector3&)
 - Vector2 VectorLerp(const Vector2&, const Vector2&, const Vector2&)
 - Vector3 VectorLerp(const Vector3&, const Vector3&, const Vector3&)
 - Vector4 VectorLerp(const Vector4&, const Vector4&, const Vector4&)
 - IntVector2 VectorMax(const IntVector2&, const IntVector2&)
+- IntVector3 VectorMax(const IntVector3&, const IntVector3&)
 - Vector2 VectorMax(const Vector2&, const Vector2&)
 - Vector3 VectorMax(const Vector3&, const Vector3&)
 - Vector4 VectorMax(const Vector4&, const Vector4&)
 - IntVector2 VectorMin(const IntVector2&, const IntVector2&)
+- IntVector3 VectorMin(const IntVector3&, const IntVector3&)
 - Vector2 VectorMin(const Vector2&, const Vector2&)
 - Vector3 VectorMin(const Vector3&, const Vector3&)
 - Vector4 VectorMin(const Vector4&, const Vector4&)
@@ -16124,6 +16153,7 @@ Properties:
 - Vector3 VectorRound(const Vector3&)
 - Vector4 VectorRound(const Vector4&)
 - IntVector2 VectorRoundToInt(const Vector2&)
+- IntVector3 VectorRoundToInt(const Vector3&)
 - bool WriteDrawablesToOBJ(Drawable@[]@, File@, bool, bool, bool = false)
 \section ScriptAPI_GlobalProperties Global properties
 - DBAPI DBAPI

+ 1 - 1
Source/Urho3D/.soversion

@@ -1 +1 @@
-0.1.41
+0.1.42