* Converts the given vector from this 3D object's local space to world space. * * @param {Vector3} vector - The vector to convert. * @return {Vector3} The converted vector.
( vector )
| 661 | * @return {Vector3} The converted vector. |
| 662 | */ |
| 663 | localToWorld( vector ) { |
| 664 | |
| 665 | this.updateWorldMatrix( true, false ); |
| 666 | |
| 667 | return vector.applyMatrix4( this.matrixWorld ); |
| 668 | |
| 669 | } |
| 670 | |
| 671 | /** |
| 672 | * Converts the given vector from this 3D object's world space to local space. |
no test coverage detected