Contents

GLKVector3AddScalar(_:_:)

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

Declaration

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