Ogre::ParticleSystem::SortByDistanceFunctor Struct Reference

Sort by distance functor. More...

#include <OgreParticleSystem.h>

List of all members.

Public Member Functions

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

Public Attributes

Vector3 sortPos
 Position to sort in.

Detailed Description

Sort by distance functor.

Definition at line 719 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

Position to sort in.

Definition at line 722 of file OgreParticleSystem.h.


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:38:46 2012