Avin Grape vor 5 Jahren
Ursprung
Commit
a64b3f5f34
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/Maths/math.vector.ts

+ 1 - 1
src/Maths/math.vector.ts

@@ -853,7 +853,7 @@ export class Vector3 {
     /**
     /**
      * Negate the current Vector3 and stores the result in the given vector "result" coordinates
      * Negate the current Vector3 and stores the result in the given vector "result" coordinates
      * @param result defines the Vector3 object where to store the result
      * @param result defines the Vector3 object where to store the result
-     * @returns this
+     * @returns the current Vector3
      */
      */
     public negateToRef(result: Vector3): Vector3 {
     public negateToRef(result: Vector3): Vector3 {
         return result.copyFromFloats(this.x * -1, this.y * -1, this.z * -1);
         return result.copyFromFloats(this.x * -1, this.y * -1, this.z * -1);