MCPcopy Create free account
hub / github.com/VolmitSoftware/Adapt / g

Method g

src/main/java/com/volmit/adapt/util/MathHelper.java:194–203  ·  view source on GitHub ↗
(float var0)

Source from the content-addressed store, hash-verified

192 }
193
194 public static float g(float var0) {
195 float var1 = var0 % 360.0f;
196 if (var1 >= 180.0f) {
197 var1 -= 360.0f;
198 }
199 if (var1 < -180.0f) {
200 var1 += 360.0f;
201 }
202 return var1;
203 }
204
205 public static double g(double var0) {
206 double var2 = var0 % 360.0;

Callers 1

cMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected