setFromVector3 method

Spherical setFromVector3(
  1. Vector3 v
)

Sets values of this spherical's radius, phi and theta properties from the Vector3.

Implementation

Spherical setFromVector3(Vector3 v) {
  return setFromCartesianCoords(v.x, v.y, v.z);
}