Macros | |
| #define | SIZEOF(x) |
Variables | |
| static const Float64 | PI |
| static const Float64 | PI_INV |
| static const Float64 | PI2 |
| static const Float64 | PI2_INV |
| static const Float64 | PI05 |
| #define SIZEOF | ( | x | ) |
Calculates the size of a data type or element.
Gets the minimum value of a and b parameters.
| [in] | a | A value. |
| [in] | b | A value. |
Gets the minimum value of a and b parameters.
| [in] | a | A value. |
| [in] | b | A value. |
Gets the minimum value of a and b parameters.
| [in] | a | A value. |
| [in] | b | A value. |
Gets the minimum value of a and b parameters.
| [in] | a | A value. |
| [in] | b | A value. |
Gets the maximum value of a and b parameters.
| [in] | a | A value. |
| [in] | b | A value. |
Gets the maximum value of a and b parameters.
| [in] | a | A value. |
| [in] | b | A value. |
Gets the maximum value of a and b parameters.
| [in] | a | A value. |
| [in] | b | A value. |
Gets the maximum value of a and b parameters.
| [in] | a | A value. |
| [in] | b | A value. |
Limits the value of a between b and c.
| [in] | a | A value. |
| [in] | b | Lower bound. |
| [in] | c | Upper bound. |
Limits the value of a between b and c.
| [in] | a | A value. |
| [in] | b | Lower bound. |
| [in] | c | Upper bound. |
Limits the value of a between b and c.
| [in] | a | A value. |
| [in] | b | Lower bound. |
| [in] | c | Upper bound. |
Limits the value of a between b and c.
| [in] | a | A value. |
| [in] | b | Lower bound. |
| [in] | c | Upper bound. |
Clips a single-precision floating point number against the lower limit 0 and the upper limit 0 1.
| [in] | a | A value. |
Clips a single-precision floating point number against the lower limit 0 and the upper limit 1.
| [in] | a | A value. |
Calculates the sine of val.
| [in] | val | A single-precision floating point value. |
Calculates the sine of val.
| [in] | val | A double-precision floating point value. |
Calculates the cosine of val.
| [in] | val | A single-precision floating point value. |
Calculates the cosine of val.
| [in] | val | A double-precision floating point value. |
Calculates the tangent of val.
| [in] | val | A single-precision floating point value. |
Calculates the tangent of val.
| [in] | val | A double-precision floating point value. |
Calculates the arctangent of val.
| [in] | val | A single-precision floating point value. |
Calculates the arctangent of val.
| [in] | val | A double-precision floating point value. |
Calculates the arctangent2 of valA and valB.
| [in] | valA | A single-precision floating point value. |
| [in] | valB | A single-precision floating point value. |
Calculates the arctangent2 of valA and valB.
| [in] | valA | A double-precision floating point value. |
| [in] | valB | A double-precision floating point value. |
Calculates e^val.
| [in] | val | A single-precision floating point value. |
Calculates e^val.
| [in] | val | A double-precision floating point value. |
Calculates logarithm of val.
| [in] | val | A single-precision floating point value. |
Calculates logarithm of val.
| [in] | val | A double-precision floating point value. |
Calculates logarithm with base 10 of val.
| [in] | val | A single-precision floating point value. |
Calculates logarithm with base 10 of val.
| [in] | val | A double-precision floating point value. |
Calculates logarithm with base 2 of val.
| [in] | val | A single-precision floating point value. |
Calculates logarithm with base 2 of val.
| [in] | val | A double-precision floating point value. |
Calculates square root of val.
| [in] | val | A single-precision floating point value. |
Calculates square root of val.
| [in] | val | A double-precision floating point value. |
Calculates the largest previous integer number of val.
| [in] | val | A single-precision floating point value. |
Calculates the largest previous integer number of val.
| [in] | val | A double-precision floating point value. |
Calculates the smallest following integer number of val.
| [in] | val | A single-precision floating point value. |
Calculates the smallest following integer number of val.
| [in] | val | A double-precision floating point value. |
Calculates v1^v2.
| [in] | v1 | A single-precision floating point value. |
| [in] | v2 | A single-precision floating point value. |
Calculates v1^v2.
| [in] | v1 | A double-precision floating point value. |
| [in] | v2 | A double-precision floating point value. |
Calculates hyperbolic sine of val.
| [in] | val | A single-precision floating point value. |
Calculates hyperbolic sine of val.
| [in] | val | A double-precision floating point value. |
Calculates hyperbolic cosine of val.
| [in] | val | A single-precision floating point value. |
Calculates hyperbolic cosine of val.
| [in] | val | A double-precision floating point value. |
Calculates hyperbolic tangent of val.
| [in] | val | A single-precision floating point value. |
Calculates hyperbolic tangent of val.
| [in] | val | A double-precision floating point value. |
Calculates floating point modulo v1%v2.
| [in] | v1 | A single-precision floating point value. The quotient numerator. |
| [in] | v2 | A single-precision floating point value. The quotient denominator. |
Calculates floating point modulo v1%v2.
| [in] | v1 | A double-precision floating point value. The quotient numerator. |
| [in] | v2 | A double-precision floating point value. The quotient denominator. |
Calculates the absolute value of floating point number f.
| [in] | f | A single-precision floating point value. |
Calculates the absolute value of floating point number f.
| [in] | f | A double-precision floating point value. |
Calculates the reciprocal (multiplicative inverse) of val.
| [in] | f | A single-precision floating point value. |
Calculates the reciprocal (multiplicative inverse) of val.
| [in] | f | A double-precision floating point value. |
| X cineware::Abs | ( | X | f | ) |
Calculates the absolute value of f.
| [in] | f | The value to get its absolute. |
| X cineware::Min | ( | X | a, |
| X | b | ||
| ) |
Calculates the minimum of a and b.
| [in] | a | A value. |
| [in] | b | A value. |
| X cineware::Max | ( | X | a, |
| X | b | ||
| ) |
Calculates the maximum a and b.
| [in] | a | A value. |
| [in] | b | A value. |
| void cineware::Swap | ( | X & | a, |
| X & | b | ||
| ) |
Swaps values a and b.
| [in] | a | A value. |
| [in] | b | A value. |
| X cineware::ClampValue | ( | X | value, |
| X | lowerLimit, | ||
| X | upperLimit | ||
| ) |
Clips a value against a lower and upper limit.
| [in] | value | The value to clamp. |
| [in] | lowerLimit | The lower limit. |
| [in] | upperLimit | The upper limit. |
| X cineware::Blend | ( | const X & | value1, |
| const X & | value2, | ||
| Y | blendValue | ||
| ) |
Blends values value1 and value2.
| [in] | value1 | The first value in the range to blend. |
| [in] | value2 | The second value in the range to blend. |
| [in] | blendValue | The blend value. |
| Float cineware::Sqr | ( | X | a, |
| X | b | ||
| ) |
Calculates square difference of a and b.
| [in] | a | A value. |
| [in] | b | A value. |
| Float cineware::Sqr | ( | X | a | ) |
Calculates square of a.
| [in] | a | A value. |
Calculates arc sine of val.
| [in] | val | A single-precision floating point value. |
Calculates arc sine of val.
| [in] | val | A double-precision floating point value. |
Calculates arc cosine of val.
| [in] | val | A single-precision floating point value. |
Calculates arc cosine of val.
| [in] | val | A double-precision floating point value. |
Converts val from degrees to radians.
| [in] | r | A single-precision floating point value. |
Converts val from degrees to radians.
| [in] | r | A double-precision floating point value. |
Converts val from radians to degrees.
| [in] | r | A single-precision floating point value. |
Converts val from radians to degrees.
| [in] | r | A double-precision floating point value. |
Calculates both sine and cosine of val.
| [in] | val | A single-precision floating point value. |
| [out] | sn | Assigned the calculated sine value. |
| [out] | cs | Assigned the calculated cosine value. |
Calculates both sine and cosine of val.
| [in] | val | A single-precision floating point value. |
| [out] | sn | Assigned the calculated sine value. |
| [out] | cs | Assigned the calculated cosine value. |
|
static |
Constant for PI.
|
static |
Constant for 1.0 / PI.
|
static |
Constant for 2.0 * PI.
|
static |
Constant for 1.0 / (2.0 * PI)
|
static |
Constant for 0.5 * PI.