linbingquan пре 5 година
родитељ
комит
c7268cbf71
1 измењених фајлова са 3 додато и 4 уклоњено
  1. 3 4
      src/math/Vector3.d.ts

+ 3 - 4
src/math/Vector3.d.ts

@@ -71,7 +71,7 @@ export class Vector3 implements Vector {
 	/**
 	/**
 	 * Adds v to this vector.
 	 * Adds v to this vector.
 	 */
 	 */
-	add( v: Vector3, w?: Vector3 ): this;
+	add( v: Vector3, w: Vector3 ): this;
 
 
 	addScalar( s: number ): this;
 	addScalar( s: number ): this;
 
 
@@ -94,7 +94,7 @@ export class Vector3 implements Vector {
 	 */
 	 */
 	subVectors( a: Vector3, b: Vector3 ): this;
 	subVectors( a: Vector3, b: Vector3 ): this;
 
 
-	multiply( v: Vector3 ): this;
+	multiply( v: Vector3, w: Vector3 ): this;
 
 
 	/**
 	/**
 	 * Multiplies this vector by scalar s.
 	 * Multiplies this vector by scalar s.
@@ -283,8 +283,7 @@ export class Vector3 implements Vector {
 
 
 	fromBufferAttribute(
 	fromBufferAttribute(
 		attribute: BufferAttribute,
 		attribute: BufferAttribute,
-		index: number,
-		offset?: number
+		index: number
 	): this;
 	): this;
 
 
 	/**
 	/**