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

Method cosShort

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

Source from the content-addressed store, hash-verified

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) {
71 return -mTable[static_cast<u16>(-(T)(1 << N) * x) & ((1 << N) - 1)].first;

Callers 1

JMACosShortFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected