diff options
author | Julien Gouesse <[email protected]> | 2019-11-29 20:05:45 +0100 |
---|---|---|
committer | Julien Gouesse <[email protected]> | 2019-11-29 20:05:45 +0100 |
commit | 2299cad4f6889481b64684b844ba99826df74984 (patch) | |
tree | 83da316c8b91be1590b5818e87f74da57a3d4730 /ardor3d-math/src | |
parent | 546b30c67f163e2e137c33aa36a07c12d967eb37 (diff) |
Fixes the Java documentation of MathUtils
Diffstat (limited to 'ardor3d-math/src')
-rw-r--r-- | ardor3d-math/src/main/java/com/ardor3d/math/MathUtils.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ardor3d-math/src/main/java/com/ardor3d/math/MathUtils.java b/ardor3d-math/src/main/java/com/ardor3d/math/MathUtils.java index 6797c6c..996eb46 100644 --- a/ardor3d-math/src/main/java/com/ardor3d/math/MathUtils.java +++ b/ardor3d-math/src/main/java/com/ardor3d/math/MathUtils.java @@ -284,7 +284,7 @@ public class MathUtils { /** * Returns a random double between 0 and 1. * - * @return A random double between <tt>0.0</tt> (inclusive) to <tt>1.0</tt> (exclusive). + * @return A random double between 0.0 (inclusive) to 1.0 (exclusive). */ public static double nextRandomDouble() { return MathUtils.rand.nextDouble(); @@ -293,7 +293,7 @@ public class MathUtils { /** * Returns a random float between 0 and 1. * - * @return A random float between <tt>0.0f</tt> (inclusive) to <tt>1.0f</tt> (exclusive). + * @return A random float between 0.0f (inclusive) to 1.0f (exclusive). */ public static float nextRandomFloat() { return MathUtils.rand.nextFloat(); @@ -314,7 +314,7 @@ public class MathUtils { * @param max * the maximum value * - * @return A random int between <tt>min</tt> (inclusive) to <tt>max</tt> (inclusive). + * @return A random int between min (inclusive) to max (inclusive). */ public static int nextRandomInt(final int min, final int max) { return (int) (nextRandomFloat() * (max - min + 1)) + min; |