* Computes the distance from the given vector to this instance. * * @param {Vector3} v - The vector to compute the distance to. * @return {number} The distance.
( v )
| 951 | * @return {number} The distance. |
| 952 | */ |
| 953 | distanceTo( v ) { |
| 954 | |
| 955 | return Math.sqrt( this.distanceToSquared( v ) ); |
| 956 | |
| 957 | } |
| 958 | |
| 959 | /** |
| 960 | * Computes the squared distance from the given vector to this instance. |
no test coverage detected