Contents

GLKVector4AddScalar(_:_:)

Returns a new vector created by adding a scalar value to each component of a vector.

Declaration

func GLKVector4AddScalar(_ 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