Spinning Topp Logo BlackTopp Studios
inc
Public Member Functions | List of all members
Mezzanine::Vector2LengthCompare Class Reference

A compare fuctor that uses vector length. More...

#include <vector2.h>

Public Member Functions

Boole operator() (const Vector2 &First, const Vector2 &Second) const
 Compares two Vector2's to determine which has the greater length/magnitude. More...
 

Detailed Description

A compare fuctor that uses vector length.

Definition at line 288 of file vector2.h.

Member Function Documentation

Boole Mezzanine::Vector2LengthCompare::operator() ( const Vector2 First,
const Vector2 Second 
) const

Compares two Vector2's to determine which has the greater length/magnitude.

Parameters
FirstThe first Vector2 to compare with.
SecondThe second Vector2 to compare with.
Returns
Returns true if the first Vector2 has a smaller length/magnitude than the second, false otherwise.

Definition at line 357 of file vector2.cpp.


The documentation for this class was generated from the following files: