MCPcopy Index your code
hub / github.com/VolmitSoftware/Adapt / sinLookup

Method sinLookup

src/main/java/com/volmit/adapt/util/M.java:366–368  ·  view source on GitHub ↗
(int a)

Source from the content-addressed store, hash-verified

364// }
365
366 private static float sinLookup(int a) {
367 return a >= 0 ? sin[a % (modulus)] : -sin[-a % (modulus)];
368 }
369
370 public static boolean interval(int tickInterval) {
371 return tick % (tickInterval <= 0 ? 1 : tickInterval) == 0;

Callers 2

sinMethod · 0.95
cosMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected