Contents

GLKVector4MakeWithVector3(_:_:)

Returns a new four-component vector created by combining a three-component vector with a scalar value.

Declaration

func GLKVector4MakeWithVector3(_ vector: GLKVector3, _ w: Float) -> GLKVector4

Parameters

  • vector:

    A vector.

  • w:

    The fourth component.

Return Value

A new vector.

See Also

Creating Vectors