Skip to content

Commit

Permalink
oopie
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion committed Dec 30, 2024
1 parent b682dfa commit bce06b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/flixel/math/FlxMath.hx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package flixel.math;


class FlxMath {
public static function roundDecimal(value:Float, precision:Int):Float {
var mult:Float = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/raylib/RayMath.hx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ extern class RayMath {
public static final RAD2DEG:Float;

@:native("Clamp")
public static function name(value:Float, min:Float, max:Float):Float;
public static function clamp(value:Float, min:Float, max:Float):Float;

@:native("Lerp")
public static function lerp(start:Float, end:Float, amount:Float):Float;
Expand Down
1 change: 1 addition & 0 deletions test/src/OtherState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class OtherState extends FlxState {
maurice.antialiasing = true;
add(maurice);
}

override public function update(elapsed:Float) {
super.update(elapsed);
bgColor = Raylib.colorFromHSV(Raylib.getTime() * 100, 1, 1);
Expand Down

0 comments on commit bce06b1

Please sign in to comment.