Here you can find the source of toRadians(float deg)
public static float toRadians(float deg)
//package com.java2s; public class Main { /**/* w w w.j a v a 2 s . c om*/ * Convert degrees to Radians. */ public static final float TO_RADIANS = 0.0174532925f; /** * Returns the given degrees to radians */ public static float toRadians(float deg) { return deg * TO_RADIANS; } }