This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as ATS from '@hn3000/ats-types' | |
/** | |
* Mirrors ats choreo events X-pos across Y-axis and switches handedness. | |
* Works for all gems including ribbons! also rotates drums and dirgems. | |
*/ | |
export const mirrorEventsX = (events: ATS.IChoreoEvent[]): ATS.IChoreoEvent[] => { | |
const newEvents: ATS.IChoreoEvent[] = []; | |
for (let i = 0; i < events.length; i++) { | |
const t = events[i].type; |