Contents

GLKVector4SubtractScalar(_:_:)

Returns a new vector created by subtracting a scalar value from each component of a vector.

Declaration

func GLKVector4SubtractScalar(_ vector: GLKVector4, _ value: Float) -> GLKVector4

Parameters

  • vector:

    A vector.

  • value:

    A scalar value.

Return Value

A new vector.

See Also

Mathematical Operations Performed on Vectors