Contents

init(x:y:z:)

Creates a vector from the specified floating-point values.

Declaration

init<T>(x: T, y: T, z: T) where T : BinaryFloatingPoint

Parameters

  • x:

    A floating-point value that specifies the x value.

  • y:

    A floating-point value that specifies the y value.

  • z:

    A floating-point value that specifies the z value.

See Also

Creating a vector