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:

- OgreParticleSystem.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.