Cortex
10.0.0-a4
|
#include <cmath>
#include "IECore/Math.inl"
Go to the source code of this file.
Namespaces | |
IECore | |
This namespace contains all components of the core library. | |
Macros | |
#define | M_PI 3.14159265358979323846264338327950288 |
Functions | |
template<typename T > | |
int | IECore::sign (T x) |
Returns -1 for negative numbers, 1 for positive, and 0 for 0. | |
template<typename T > | |
T | IECore::smoothstep (T v0, T v1, T x) |
Computes smoothstep function from Ken Perlin's original noise implementation. | |
Defines useful mathematical operations that don't seem to belong elsewhere.