We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d3243b commit f8f9d6eCopy full SHA for f8f9d6e
1 file changed
source/funkin/game/Strum.hx
@@ -174,8 +174,9 @@ class Strum extends FlxSprite {
174
if (daNote.isSustainNote) offset.y -= height * 0.5;
175
176
if (Std.int(daNote.__noteAngle % 360) != 0) {
177
- var noteAngleCos = FlxMath.fastCos(daNote.__noteAngle / PIX180);
178
- var noteAngleSin = FlxMath.fastSin(daNote.__noteAngle / PIX180);
+ var noteAngle = FlxMath.fastSinCos(daNote.__noteAngle / PIX180);
+ var noteAngleCos = noteAngle.cos;
179
+ var noteAngleSin = noteAngle.sin;
180
181
var aOffset:FlxPoint = FlxPoint.get(
182
(daNote.origin.x / daNote.scale.x) - daNote.offset.x,
0 commit comments