package org.andengine.util.math; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 16:49:25 - 26.07.2010 */ public interface MathConstants { // =========================================================== // Constants // =========================================================== public static final float PI = (float) Math.PI; public static float PI_TWICE = PI * 2.0f; public static float PI_HALF = PI * 0.5f; public static final float DEG_TO_RAD = PI / 180.0f; public static final float RAD_TO_DEG = 180.0f / PI; // =========================================================== // Methods // =========================================================== }