GLKVector2AllEqualToVector2(_:_:)
Returns a Boolean value that indicates whether each component of the first vector is equal to the corresponding component of a second vector.
Declaration
func GLKVector2AllEqualToVector2(_ vectorLeft: GLKVector2, _ vectorRight: GLKVector2) -> BoolParameters
- vectorLeft:
The first vector.
- vectorRight:
The second vector.
Return Value
true if all of the vectors’ components are equal , false otherwise.
Discussion
The vectors are considered equal when the value for the component at each position in the two source vectors is equal.