jme3tools.navigation
Class NumUtil

java.lang.Object
  extended by jme3tools.navigation.NumUtil

public class NumUtil
extends java.lang.Object

Provides various helper methods for number conversions (such as degree to radian conversion, decimal degree to radians etc)

Since:
1.0

Constructor Summary
NumUtil()
           
 
Method Summary
 float Round(float Rval, int Rpl)
          Rounds a number
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumUtil

public NumUtil()
Method Detail

Round

public float Round(float Rval,
                   int Rpl)
Rounds a number

Parameters:
Rval - number to be rounded
Rpl - number of decimal places
Returns:
rounded number
Since:
0.1