Browse Source

Travis CI: API documentation update at 2016-01-30 10:43:25 UTC.
[ci package]

Commit: https://github.com/urho3d/Urho3D/commit/dcdcccd54178cc9d870033518c0b9fa49c1d9a08

Message: Added missing AS bindings for Quaternion

urho3d-travis-ci 10 years ago
parent
commit
dc91be4dd1
3 changed files with 12 additions and 3 deletions
  1. 6 1
      Docs/AngelScriptAPI.h
  2. 5 1
      Docs/ScriptAPI.dox
  3. 1 1
      Source/Urho3D/.soversion

+ 6 - 1
Docs/AngelScriptAPI.h

@@ -8081,15 +8081,18 @@ int weakRefs;
 class Quaternion
 {
 // Methods:
+Quaternion Conjugate() const;
 float DotProduct(const Quaternion&) const;
 bool Equals(const Quaternion&) const;
 void FromAngleAxis(float, const Vector3&);
 void FromAxes(const Vector3&, const Vector3&, const Vector3&);
 void FromEulerAngles(float, float, float);
-bool FromLookRotation(const Vector3&, const Vector3&);
+bool FromLookRotation(const Vector3&, const Vector3& = Vector3 ( 0.0 , 1.0 , 0.0 ));
+void FromRotationMatrix(const Matrix3&);
 void FromRotationTo(const Vector3&, const Vector3&);
 Quaternion Inverse() const;
 bool IsNaN() const;
+float LengthSquared() const;
 Quaternion Nlerp(Quaternion, float, bool) const;
 void Normalize();
 Quaternion Normalized() const;
@@ -8103,6 +8106,8 @@ Vector3 eulerAngles;
 float pitch;
 /* readonly */
 float roll;
+/* readonly */
+Matrix3 rotationMatrix;
 float w;
 float x;
 float y;

+ 5 - 1
Docs/ScriptAPI.dox

@@ -9573,15 +9573,18 @@ Properties:
 
 Methods:
 
+- Quaternion Conjugate() const
 - float DotProduct(const Quaternion&) const
 - bool Equals(const Quaternion&) const
 - void FromAngleAxis(float, const Vector3&)
 - void FromAxes(const Vector3&, const Vector3&, const Vector3&)
 - void FromEulerAngles(float, float, float)
-- bool FromLookRotation(const Vector3&, const Vector3&)
+- bool FromLookRotation(const Vector3&, const Vector3& = Vector3 ( 0.0 , 1.0 , 0.0 ))
+- void FromRotationMatrix(const Matrix3&)
 - void FromRotationTo(const Vector3&, const Vector3&)
 - Quaternion Inverse() const
 - bool IsNaN() const
+- float LengthSquared() const
 - Quaternion Nlerp(Quaternion, float, bool) const
 - void Normalize()
 - Quaternion Normalized() const
@@ -9593,6 +9596,7 @@ Properties:
 - Vector3 eulerAngles // readonly
 - float pitch // readonly
 - float roll // readonly
+- Matrix3 rotationMatrix // readonly
 - float w
 - float x
 - float y

+ 1 - 1
Source/Urho3D/.soversion

@@ -1 +1 @@
-0.0.191
+0.0.192