Functions | |
Float64 | StepEx (Float64 a, Float64 x) |
Float32 | Boxstep (Float32 a, Float32 b, Float32 x) |
Float64 | Boxstep (Float64 a, Float64 b, Float64 x) |
Float32 | Smoothstep (Float32 a, Float32 b, Float32 x) |
Float64 | Smoothstep (Float64 a, Float64 b, Float64 x) |
Float32 | Modulo (Float32 a, Float32 b) |
Float64 | Modulo (Float64 a, Float64 b) |
Int32 | LModulo (Int32 a, Int32 b) |
Int64 | LModulo (Int64 a, Int64 b) |
Float32 | Bias (Float32 b, Float32 x) |
Float64 | Bias (Float64 b, Float64 x) |
Float32 | Truncate (Float32 x) |
Float64 | Truncate (Float64 x) |
Returns 1.0 if x is greater than or equal to a, else 0.0.
[in] | a | A double-precision floating point value. |
[in] | x | A double-precision floating point value. |
Returns 0.0 if x is less than a and 1.0 if x is greater than b, else returns x mapped on the range [a,b].
[in] | a | A single-precision floating point value. |
[in] | b | A single-precision floating point value. |
[in] | x | A single-precision floating point value. |
Returns 0.0 if x is less than a and 1.0 if x is greater than b, else returns x mapped on the range [a,b].
[in] | a | A double-precision floating point value. |
[in] | b | A double-precision floating point value. |
[in] | x | A double-precision floating point value. |
Returns 0.0 if x is less than a and 1.0 if x is greater than b, else returns x mapped on the range [a,b].
[in] | a | A single-precision floating point value. |
[in] | b | A single-precision floating point value. |
[in] | x | A single-precision floating point value. |
Returns 0.0 if x is less than a and 1.0 if x is greater than b, else returns x mapped on the range [a,b].
[in] | a | A double-precision floating point value. |
[in] | b | A double-precision floating point value. |
[in] | x | A double-precision floating point value. |
Returns a modulo b.
[in] | a | A single-precision floating point value. |
[in] | b | A single-precision floating point value. |
Returns a modulo b.
[in] | a | A double-precision floating point value. |
[in] | b | A double-precision floating point value. |
Returns a modulo b (integer modulo).
[in] | a | A 32-bit integer value. |
[in] | b | A 32-bit integer value. |
Returns a modulo b (integer modulo).
[in] | a | A 64-bit integer value. |
[in] | b | A 64-bit integer value. |
Returns the bias as the defined in the book "Texturing and Modeling" by Ebert.
[in] | b | The bias value. |
[in] | x | A single-precision floating point value. |
Returns the bias as the defined in the book "Texturing and Modeling" by Ebert.
[in] | b | The bias value. |
[in] | x | A double-precision floating point value. |
Returns the next integer value towards zero.
[in] | x | The 32-bit floating point value to truncate. |