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

Update actor.jl to implement rotate and scale capabilities #14

Merged
merged 4 commits into from
Oct 16, 2020
Merged

Update actor.jl to implement rotate and scale capabilities #14

merged 4 commits into from
Oct 16, 2020

Conversation

dustyirwin
Copy link
Contributor

Converted SDL2.RenderCopy to SDL2.RenderCopyEx to implement scale and rotate capabilities. Converted scale attribute on Actors from Float64 to Float64[1.0,1.0] to independently scale the width and height respectively. Actor.angle is a Float64 in degrees.

Converted SDL2.RenderCopy to SDL2.RenderCopyEx to implement scale and rotate capabilities. Converted scale attribute on Actors from Float64 to Float64[1.0,1.0] to independently scale the width and height respectively. Actor.angle is a Float64 in degrees.
using floor on w' and h'
@aviks aviks merged commit d7361f3 into aviks:master Oct 16, 2020
@aviks aviks mentioned this pull request Oct 17, 2020
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.

2 participants