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

Method sin

src/main/java/com/volmit/adapt/util/M.java:233–235  ·  view source on GitHub ↗

Fast sin function @param a the number @return the sin

(float a)

Source from the content-addressed store, hash-verified

231 * @return the sin
232 */
233 public static float sin(float a) {
234 return sinLookup((int) (a * precision + 0.5f));
235 }
236
237 /**
238 * Fast cos function

Callers 5

tanMethod · 0.95
onTickMethod · 0.45
rotateVectorCCMethod · 0.45
toVectorMethod · 0.45
MClass · 0.45

Calls 1

sinLookupMethod · 0.95

Tested by

no test coverage detected