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