Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prependRotation, copyRowTo and copyRowFrom #11698

Merged
merged 5 commits into from
Jun 30, 2023

Conversation

Fancy2209
Copy link
Contributor

@Fancy2209 Fancy2209 commented Jun 23, 2023

prependRotation is based on a suggestion by Adrian on Discord
copyRowTo and copyRowFrom implmentations are from OpenFL
Fixes #11688

@Aaron1011
Copy link
Member

Could you add a test for these methods?

@Fancy2209
Copy link
Contributor Author

Fancy2209 commented Jun 25, 2023

Could you add a test for these methods?

I don not have enough AS3 Knowledge to do so currently :/

@Aaron1011
Copy link
Member

I can write a test when I get access to my desktop again.

@Fancy2209
Copy link
Contributor Author

I see, thank you!

@Aaron1011 Aaron1011 force-pushed the Feature/prependRotation branch from b8d46a9 to 6d41304 Compare June 30, 2023 17:12
@Aaron1011
Copy link
Member

@Fancy2209 I added some tests, and fixed some bugs (the row index wasn't being checked, and you were writing to a copy of the array via the getter, not the underlying array).

@Aaron1011 Aaron1011 force-pushed the Feature/prependRotation branch from 1013f27 to cc2041a Compare June 30, 2023 17:29
@Aaron1011 Aaron1011 merged commit 8f0a43f into ruffle-rs:master Jun 30, 2023
@Fancy2209 Fancy2209 deleted the Feature/prependRotation branch July 1, 2023 00:13
@Fancy2209 Fancy2209 restored the Feature/prependRotation branch July 1, 2023 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sniper Team 2 cannot load a mission
3 participants