Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed|libdeng2|Vector: Vector comparison operators
Vector comparison operators were not working as expected. For instance, comparing (0,2) < (0,4) would result in 'false' because the first component was not less in the other vector. Also refactored the equality operators to not require explicit specialization for all value types: a template function is now used number equality tests.
- Loading branch information
Showing
1 changed file
with
50 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters