aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-math/src
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2019-11-29 20:05:45 +0100
committerJulien Gouesse <[email protected]>2019-11-29 20:05:45 +0100
commit2299cad4f6889481b64684b844ba99826df74984 (patch)
tree83da316c8b91be1590b5818e87f74da57a3d4730 /ardor3d-math/src
parent546b30c67f163e2e137c33aa36a07c12d967eb37 (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.java6
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;