浏览代码

code comment update

David Catuhe 7 年之前
父节点
当前提交
563f060c8e
共有 1 个文件被更改,包括 8 次插入3 次删除
  1. 8 3
      src/Math/babylon.math.ts

+ 8 - 3
src/Math/babylon.math.ts

@@ -3159,8 +3159,11 @@
             this.w *= length;
             this.w *= length;
             return this;
             return this;
         }
         }
+
         /**
         /**
-         * Returns a new Vector3 set with the Euler angles translated from the current Quaternion.  
+         * Returns a new Vector3 set with the Euler angles translated from the current Quaternion
+         * @param order is a reserved parameter and is ignore for now
+         * @returnsthe new Vector3
          */
          */
         public toEulerAngles(order = "YZX"): Vector3 {
         public toEulerAngles(order = "YZX"): Vector3 {
             var result = Vector3.Zero();
             var result = Vector3.Zero();
@@ -3169,8 +3172,10 @@
         }
         }
 
 
         /**
         /**
-         * Sets the passed vector3 "result" with the Euler angles translated from the current Quaternion.  
-         * Returns the current Quaternion.  
+         * Sets the passed vector3 "result" with the Euler angles translated from the current Quaternion
+         * @param result defines the vector which will be filled with the Euler angles
+         * @param order is a reserved parameter and is ignore for now
+         * @returns the current Quaternion
          */
          */
         public toEulerAnglesToRef(result: Vector3, order = "YZX"): Quaternion {
         public toEulerAnglesToRef(result: Vector3, order = "YZX"): Quaternion {