Contents

GLKVector3SubtractScalar(_:_:)

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

Declaration

func GLKVector3SubtractScalar(_ vector: GLKVector3, _ value: Float) -> GLKVector3

Parameters

  • vector:

    A vector.

  • value:

    A scalar value.

Return Value

A new vector.

See Also

Mathematical Operations Performed on Vectors