1 2 3 4 5 6 7 8
#include "ultra64.h" /** * Compute the sine of a hex angle and return a short, using the formula cos(x) = sin(x+pi). */ s16 coss(u16 x) { return sins(x + 0x4000); }