#include "ofMath.h"#include "ofAppRunner.h"#include <sys/time.h>Functions | |
| int | ofNextPow2 (int a) |
| void | ofSeedRandom () |
| void | ofSeedRandom (int val) |
| float | ofRandom (float x, float y) |
| float | ofRandomf () |
| float | ofRandomuf () |
| float | ofNormalize (float value, float min, float max) |
| float | ofMap (float value, float inputMin, float inputMax, float outputMin, float outputMax) |
| float | ofDist (float x1, float y1, float x2, float y2) |
| float | ofDistSquared (float x1, float y1, float x2, float y2) |
| float | ofClamp (float value, float min, float max) |
| int | ofSign (float n) |
| bool | ofInRange (float t, float min, float max) |
| float | ofRadToDeg (float radians) |
| float | ofDegToRad (float degrees) |
| float | ofLerp (float start, float stop, float amt) |
| float | ofRandomWidth () |
| float | ofRandomHeight () |
| float ofClamp | ( | float | value, |
| float | min, | ||
| float | max | ||
| ) |
| float ofDegToRad | ( | float | degrees ) |
| float ofDist | ( | float | x1, |
| float | y1, | ||
| float | x2, | ||
| float | y2 | ||
| ) |
| float ofDistSquared | ( | float | x1, |
| float | y1, | ||
| float | x2, | ||
| float | y2 | ||
| ) |
| bool ofInRange | ( | float | t, |
| float | min, | ||
| float | max | ||
| ) |
| float ofLerp | ( | float | start, |
| float | stop, | ||
| float | amt | ||
| ) |
| float ofMap | ( | float | value, |
| float | inputMin, | ||
| float | inputMax, | ||
| float | outputMin, | ||
| float | outputMax | ||
| ) |
| int ofNextPow2 | ( | int | a ) |
| float ofNormalize | ( | float | value, |
| float | min, | ||
| float | max | ||
| ) |
| float ofRadToDeg | ( | float | radians ) |
| float ofRandom | ( | float | x, |
| float | y | ||
| ) |
| float ofRandomf | ( | ) |
| float ofRandomHeight | ( | ) |
| float ofRandomuf | ( | ) |
| float ofRandomWidth | ( | ) |
| void ofSeedRandom | ( | ) |
| void ofSeedRandom | ( | int | val ) |
| int ofSign | ( | float | n ) |
1.7.2