mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-04 16:50:57 +00:00
11 lines
255 B
C
11 lines
255 B
C
|
#include "headers/sincosd2.h"
|
||
|
|
||
|
static __inline void _sincos(double angle, double* sinx, double* cosx)
|
||
|
{
|
||
|
vector double vsinx, vcosx;
|
||
|
|
||
|
_sincosd2(spu_promote(angle, 0), &vsinx, &vcosx);
|
||
|
*sinx = spu_extract(vsinx, 0);
|
||
|
*cosx = spu_extract(vcosx, 0);
|
||
|
}
|