Skip to content

Commit

Permalink
fix CC
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli committed Jun 22, 2024
1 parent e3e4f17 commit 1a058c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flixel/graphics/tile/FlxDrawQuadsItem.hx
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ typedef QuadRectRaw = { x:Float, y:Float, width:Float, height:Float };
abstract QuadRect(QuadRectRaw) from QuadRectRaw to QuadRectRaw
{
@:from
static public inline function fromFlxRect(rect:FlxRect):QuadRect
public static inline function fromFlxRect(rect:FlxRect):QuadRect
{
return { x: rect.x, y: rect.y, width: rect.width, height: rect.height };
}

@:from
static public inline function fromRect(rect:openfl.geom.Rectangle):QuadRect
public static inline function fromRect(rect:openfl.geom.Rectangle):QuadRect
{
return { x: rect.x, y: rect.y, width: rect.width, height: rect.height };
}
Expand All @@ -38,7 +38,7 @@ typedef QuadTransformRaw = { a:Float, b:Float, c:Float, d:Float, tx:Float, ty:Fl
abstract QuadTransform(QuadTransformRaw) from QuadTransformRaw to QuadTransformRaw
{
@:from
static public inline function fromMatrix(matrix:FlxMatrix):QuadTransform
public static inline function fromMatrix(matrix:FlxMatrix):QuadTransform
{
return { a: matrix.a, b: matrix.b, c: matrix.c, d: matrix.d, tx: matrix.tx, ty: matrix.ty };
}
Expand Down

0 comments on commit 1a058c2

Please sign in to comment.