* Sets the spherical components from the given vector which is assumed to hold * Cartesian coordinates. * * @param {Vector3} v - The vector to set. * @return {Spherical} A reference to this spherical.
( v )
| 98 | * @return {Spherical} A reference to this spherical. |
| 99 | */ |
| 100 | setFromVector3( v ) { |
| 101 | |
| 102 | return this.setFromCartesianCoords( v.x, v.y, v.z ); |
| 103 | |
| 104 | } |
| 105 | |
| 106 | /** |
| 107 | * Sets the spherical components from the given Cartesian coordinates. |
no test coverage detected