Contents

GLKVector2AllEqualToScalar(_:_:)

Returns a Boolean value that states whether all the components of the source vector are equal to a scalar value.

Declaration

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

Parameters

  • vector:

    A vector.

  • value:

    A scalar.

Return Value

true if all of the vector’s components are equal to value, false otherwise.

See Also

Comparison Operations