Skip to content

Commit f6a98e3

Browse files
authored
Fix function description in FlxMath (#3457)
The comment describing FlxMath.wrap says it wraps the value between 0 and max, when it doesn't do that.
1 parent 038937a commit f6a98e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flixel/math/FlxMath.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ class FlxMath
270270
}
271271

272272
/**
273-
* Makes sure that value always stays between 0 and max,
273+
* Makes sure that value always stays between min and max,
274274
* by wrapping the value around.
275275
*
276276
* @param value The value to wrap around

0 commit comments

Comments
 (0)