Public Member Functions | Public Attributes | List of all members
Ogre::ParticleSystem::SortByDistanceFunctor Struct Reference

Sort by distance functor. More...

#include <OgreParticleSystem.h>

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 722 of file OgreParticleSystem.h.

Constructor & Destructor Documentation

§ SortByDistanceFunctor()

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

Member Function Documentation

§ operator()()

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

Member Data Documentation

§ sortPos

Vector3 Ogre::ParticleSystem::SortByDistanceFunctor::sortPos

Position to sort in.

Definition at line 725 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 Mon Jan 2 2017 11:59:35