|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Inline functions for the DC's special math instructions. More...
Go to the source code of this file.
Functions | |
| static float __pure | fipr (float x, float y, float z, float w, float a, float b, float c, float d) |
| Floating point inner product. | |
| static float __pure | fipr_magnitude_sqr (float x, float y, float z, float w) |
| Floating point inner product w/self (square of vector magnitude) | |
| static float __pure | fsin (float r) |
| Floating point sine. | |
| static __pure float | fcos (float r) |
| Floating point cosine. | |
| static __pure float | ftan (float r) |
| Floating point tangent. | |
| static __pure float | fisin (int d) |
| Integer sine. | |
| static __pure float | ficos (int d) |
| Integer cosine. | |
| static float __pure | fitan (int d) |
| Integer tangent. | |
| static float __pure | fsqrt (float f) |
| Floating point square root. | |
| static float __pure | frsqrt (float f) |
| static void | fsincos (float f, float *s, float *c) |
| Calculate the sine and cosine of a value in degrees. | |
| static void | fsincosr (float f, float *s, float *c) |
| Calculate the sine and cosine of a value in radians. | |
| static uint32_t __pure | pvr_pack_bump (float h, float t, float q) |
| Calculate the offset color value for a set of bumpmap parameters. | |
Inline functions for the DC's special math instructions.