Project

General

Profile

« Previous | Next » 

Revision 7aa939fc

Added by skyjake almost 11 years ago

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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences