MCPcopy Create free account
hub / github.com/doldecomp/mkdd / sinShort

Method sinShort

include/JSystem/JMath/JMath.h:67–67  ·  view source on GitHub ↗

* elements are pairs of {sine, cosine} */

Source from the content-addressed store, hash-verified

65 * elements are pairs of {sine, cosine}
66 */
67 f32 sinShort(s16 v) const { return mTable[static_cast<u16>(v) >> (16U - N)].first; }
68 f32 cosShort(s16 v) const { return mTable[static_cast<u16>(v) >> (16U - N)].second; }
69 f32 sinLap(f32 x) const {
70 if (x < 0.0f) {

Callers 1

JMASinShortFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected