We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92bac85 commit f017db8Copy full SHA for f017db8
1 file changed
src/math/Math.js
@@ -70,7 +70,7 @@ Phaser.Math = {
70
*
71
* @param {number} val
72
* @param {number} [epsilon=(small value)]
73
- * @return {boolean} ceiling(val-epsilon)
+ * @return {number} ceiling(val-epsilon)
74
*/
75
fuzzyCeil: function (val, epsilon) {
76
if (epsilon === undefined) { epsilon = 0.0001; }
@@ -82,7 +82,7 @@ Phaser.Math = {
82
83
84
85
- * @return {boolean} floor(val-epsilon)
+ * @return {number} floor(val+epsilon)
86
87
fuzzyFloor: function (val, epsilon) {
88
0 commit comments