소스 검색

Merge pull request #18086 from martinRenou/fix_documentation

Vector3.add: Fix parameter names in TypeScript definition
Michael Herzog 5 년 전
부모
커밋
5a43e2fe19
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/math/Vector3.d.ts

+ 1 - 1
src/math/Vector3.d.ts

@@ -71,7 +71,7 @@ export class Vector3 implements Vector {
 	/**
 	 * Adds v to this vector.
 	 */
-	add( a: Vector3, b?: Vector3 ): this;
+	add( v: Vector3, w?: Vector3 ): this;
 
 	addScalar( s: number ): this;