Contents

GLKVector2DivideScalar(_:_:)

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

Declaration

func GLKVector2DivideScalar(_ vector: GLKVector2, _ value: Float) -> GLKVector2

Parameters

  • vector:

    A vector.

  • value:

    A scalar value.

Return Value

A new vector.

See Also

Mathematical Operations Performed on Vectors