OGRE  1.9
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::BillboardSet::SortByDistanceFunctor Struct Reference

Sort by distance functor. More...

#include <OgreBillboardSet.h>

+ Collaboration diagram for Ogre::BillboardSet::SortByDistanceFunctor:

Public Member Functions

 SortByDistanceFunctor (const Vector3 &pos)
float operator() (Billboard *bill) const

Public Attributes

Vector3 sortPos
 Position to sort in. More...

Detailed Description

Sort by distance functor.

Definition at line 276 of file OgreBillboardSet.h.

Constructor & Destructor Documentation

Ogre::BillboardSet::SortByDistanceFunctor::SortByDistanceFunctor ( const Vector3 pos)

Member Function Documentation

float Ogre::BillboardSet::SortByDistanceFunctor::operator() ( Billboard bill) const

Member Data Documentation

Vector3 Ogre::BillboardSet::SortByDistanceFunctor::sortPos

Position to sort in.

Definition at line 279 of file OgreBillboardSet.h.

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