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

Sort by distance functor. More...

#include <OgreParticleSystem.h>

+ Collaboration diagram for Ogre::ParticleSystem::SortByDistanceFunctor:

Public Member Functions

 SortByDistanceFunctor (const Vector3 &pos)
 
float operator() (Particle *p) const
 

Public Attributes

Vector3 sortPos
 Position to sort in. More...
 

Detailed Description

Sort by distance functor.

Definition at line 681 of file OgreParticleSystem.h.

Constructor & Destructor Documentation

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

Member Function Documentation

float Ogre::ParticleSystem::SortByDistanceFunctor::operator() ( Particle p) const

Member Data Documentation

Vector3 Ogre::ParticleSystem::SortByDistanceFunctor::sortPos

Position to sort in.

Definition at line 684 of file OgreParticleSystem.h.


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