Contents

init(x:y:z:)

Returns a vector from the specified values.

Declaration

init(x: Float = 0, y: Float = 0, z: Float = 0)

Parameters

  • x:

    The first element of the vector.

  • y:

    The second element of the vector.

  • z:

    The third element of the vector.