init(x:y:z:)
Creates a vector from the specified double-precision values.
Declaration
init(x: Double = 0, y: Double = 0, z: Double = 0)Parameters
- x:
A double-precision value that specifies the x value.
- y:
A double-precision value that specifies the y value.
- z:
A double-precision value that specifies the z value.