Java Random randAngle()

Here you can find the source of randAngle()

Description

rand Angle

License

Apache License

Declaration

public static float randAngle() 

Method Source Code

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

public class Main {
    public static float randAngle() {
        return (float) (Math.random() * 2.0 * Math.PI);
    }/*from   w  w w . ja  va2 s . c o  m*/
}

Related

  1. medianHelper(List list, int k, Random r)
  2. multSample(Random rng, double[] vals, double normsum)
  3. permute(Object[] arr, Random random)
  4. rand()
  5. Rand()
  6. randFloat(float min, float max)
  7. random()
  8. random()
  9. random()