Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
SquareSort Struct Reference

Functor for sorting edge-squares by approximate proximity to a fixed point. More...

Collaboration diagram for SquareSort:

Public Member Functions

 SquareSort (CFixedVector2D src)
 
bool operator() (const Square &a, const Square &b) const
 

Public Attributes

CFixedVector2D src
 

Detailed Description

Functor for sorting edge-squares by approximate proximity to a fixed point.

Constructor & Destructor Documentation

◆ SquareSort()

SquareSort::SquareSort ( CFixedVector2D  src)
inline

Member Function Documentation

◆ operator()()

bool SquareSort::operator() ( const Square a,
const Square b 
) const
inline

Member Data Documentation

◆ src

CFixedVector2D SquareSort::src

The documentation for this struct was generated from the following file: