init(_:)
Creates a new spherical coordinates structure from the specified Cartesian coordinates represented by a Spatial vector.
Declaration
init(_ vector: Vector3DFloat)Parameters
- vector:
The Cartesian coordinates.
Creates a new spherical coordinates structure from the specified Cartesian coordinates represented by a Spatial vector.
init(_ vector: Vector3DFloat)The Cartesian coordinates.