File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232
3333 <git name =" hxcpp" url =" https://github.com/CodenameCrew/cne-hxcpp" />
3434
35- <git name =" flixel-animate" url =" https://github.com/MaybeMaru/ flixel-animate/" skipDeps =" true" />
35+ <git name =" flixel-animate" url =" https://github.com/CodenameCrew/cne- flixel-animate/" skipDeps =" true" />
3636 </if >
3737
3838 <!-- Hxcpp Building -->
Original file line number Diff line number Diff line change @@ -366,26 +366,9 @@ class FunkinSprite extends FlxAnimate implements IBeatReceiver implements IOffse
366366 }
367367
368368 override function prepareDrawMatrix (matrix : FlxMatrix , camera : FlxCamera ): Void {
369- matrix .translate (- origin .x , - origin .y );
370-
371- if (frameOffsetAngle != null && frameOffsetAngle != angle )
372- {
373- var angleOff = (frameOffsetAngle - angle ) * FlxAngle .TO_RAD ;
374- var cos = Math .cos (angleOff );
375- var sin = Math .sin (angleOff );
376- // cos doesnt need to be negated
377- matrix .rotateWithTrig (cos , - sin );
378- matrix .translate (- frameOffset .x , - frameOffset .y );
379- matrix .rotateWithTrig (cos , sin );
380- }
381- else
382- matrix .translate (- frameOffset .x , - frameOffset .y );
383-
384- matrix .translate (origin .x , origin .y );
385-
386369 super .prepareDrawMatrix (matrix , camera );
387370
388- if (__shouldDoZoomFactor ()) {
371+ if (__shouldDoZoomFactor ()) {
389372 __prepareZoomFactor (_rect2 , camera );
390373 matrix .setTo (
391374 matrix .a * _rect2 .width , matrix .b * _rect2 .height ,
You can’t perform that action at this time.
0 commit comments