Defines | |
| #define | oslSrand vfpu_srand |
| #define | oslRandf vfpu_randf |
| #define | oslRand_8888 vfpu_rand_8888 |
| #define | oslSinf vfpu_sinf |
| #define | oslCosf vfpu_cosf |
| #define | oslTanf vfpu_tanf |
| #define | oslAsinf vfpu_asinf |
| #define | oslAcosf vfpu_acosf |
| #define | oslAtanf vfpu_atanf |
| #define | oslAtan2f vfpu_atan2f |
| #define | oslSinhf vfpu_sinhf |
| #define | oslCoshf vfpu_coshf |
| #define | oslTanhf vfpu_tanhf |
| #define | oslSincos vfpu_sincos |
| #define | oslExpf vfpu_expf |
| #define | oslLogf vfpu_logf |
| #define | oslPowf vfpu_powf |
| #define | oslFmodf vfpu_fmodf |
| #define oslSrand vfpu_srand |
Set vfpu random generator seed
| x | - seed value |
| #define oslRandf vfpu_randf |
Return random float value
| min | - minimum value to return | |
| max | - maximum value to return |
| #define oslRand_8888 vfpu_rand_8888 |
Return random color value in 8888 format This always sets the alpha channel value to 0xFF
| min | - minimum value for each color channel (0..255) | |
| max | - maximum value for each color channel (0..255) |
| #define oslSinf vfpu_sinf |
Calculate sine
| x | - input in radians |
| #define oslCosf vfpu_cosf |
Calculate cosine
| x | - input in radians |
| #define oslTanf vfpu_tanf |
Calculate tangent
| x | - input in radians |
| #define oslAsinf vfpu_asinf |
Calculate inverse sine (arcsin)
| x | - input |
| #define oslAcosf vfpu_acosf |
Calculate inverse cosine (arccos)
| x | - input |
| #define oslAtanf vfpu_atanf |
Calculate inverse tangent (arctan)
| x | - input |
| #define oslAtan2f vfpu_atan2f |
Calculate inverse tangent, with proper quadrant fixup
| x | - input |
| #define oslSinhf vfpu_sinhf |
Calculate hyperbolic sine
| x | - input |
| #define oslCoshf vfpu_coshf |
Calculate hyperbolic cosine
| x | - input |
| #define oslTanhf vfpu_tanhf |
Calculate hyperbolic tangent
| x | - input |
| #define oslSincos vfpu_sincos |
Calculate sine and cosine
| r | - input in radians | |
| s | - pointer to float for sin | |
| c | - pointer to float for cos |
| #define oslExpf vfpu_expf |
Calculate exponent of x
| x | - input |
| #define oslLogf vfpu_logf |
Calculate logarithm of x
| x | - input |
| #define oslPowf vfpu_powf |
Calculate x raised to the power of y
| x | - number to raise power of | |
| y | - power to raise x by |
| #define oslFmodf vfpu_fmodf |
Calculate floating point remainder of x/y
| x | - input | |
| y | - input |
1.5.9