mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-05 08:51:48 +00:00
11 lines
252 B
C
11 lines
252 B
C
|
#include "headers/sincosf4.h"
|
||
|
|
||
|
static __inline void _sincosf(float angle, float* sinx, float* cosx)
|
||
|
{
|
||
|
vector float vsinx, vcosx;
|
||
|
|
||
|
_sincosf4(spu_promote(angle, 0), &vsinx, &vcosx);
|
||
|
*sinx = spu_extract(vsinx, 0);
|
||
|
*cosx = spu_extract(vcosx, 0);
|
||
|
}
|