Java Angle angle360Limit(float angle)

Here you can find the source of angle360Limit(float angle)

Description

angle Limit

License

Apache License

Declaration

public static float angle360Limit(float angle) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static float angle360Limit(float angle) {
        while (angle >= 360f)
            angle -= 360f;/*from  w ww.  j av  a 2s  . c o m*/
        while (angle < 0)
            angle += 360f;
        return angle;
    }
}

Related

  1. angle(double[] vec1, double[] vec2)
  2. angle(float x, float y, float x1, float y1)
  3. angle(float x1, float y1, float x2, float y2)
  4. angle2degree(double angle)
  5. angle2pixels(double angle)
  6. angleAdd(int i, final int i1)
  7. angleDistance(double angle1, double angle2)
  8. angleEquals(double angle1, double angle2, double epsilon)
  9. AngleEvaluation(double angle, int effectIndex, int angleNeeded, int orbValue)