Contents

GLKVector4MultiplyScalar(_:_:)

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

Declaration

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