소스 검색

New Path3D functionality (doc)

Poolminer 5 년 전
부모
커밋
9e66be4b0e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/Maths/math.path.ts

+ 1 - 0
src/Maths/math.path.ts

@@ -508,6 +508,7 @@ export class Path3D {
     /**
      * Returns the position of the closest virtual point on this path to an arbitrary Vector3, from 0.0 to 1.0
      * @param target the vector of which to get the closest position to
+     * @returns the position of the closest virtual point on this path to the target vector
      */
     public getClosestPositionTo(target: Vector3) {
         let smallestDistance = Number.MAX_VALUE;