Definition in file pstools.h.
#include "libgm/gm.h"
Include dependency graph for pstools.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | SET_FLAG 1 |
| #define | NOT_SET_FLAG 0 |
Functions | |
| double | fastExp (double) |
| Fast approximation to exp. | |
| double | psRandom (void) |
| Random number generator. | |
| void | clampInt (int &x, int max) |
| Clamps x to [0,max-1]. | |
| gmVector3 | randOrtho (gmVector3 x) |
| Generates a radom orthogonal vector. | |
|
|
|
|
|
|
|
||||||||||||
|
Clamps x to [0,max-1].
Definition at line 29 of file pstools.cpp. Referenced by ParticleLocalityGrid::findCell(). |
|
|
Fast approximation to exp.
Definition at line 72 of file pstools.cpp. Referenced by ParticleRepulsion::applyForce(), and SingularityRepulsion::repelTarget(). |
|
|
Random number generator.
Definition at line 18 of file pstools.cpp. Referenced by ParticleFate::cleanup(), and SilhouetteFate::cleanup(). |
|
|
Generates a radom orthogonal vector.
Definition at line 43 of file pstools.cpp. Referenced by SilhouetteFate::cleanup(), ParticleFate::cleanup(), and ParticleRendererGL::drawDisk(). |
1.3.4