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

Include swapSides argument to match attacking direction in both periods #7

Closed
JoGall opened this issue Nov 2, 2017 · 1 comment
Closed

Comments

@JoGall
Copy link
Owner

JoGall commented Nov 2, 2017

Requested by email:

Include boolean argument swapSides in functions; if TRUE, adjust x,y-coordinates from 2nd period to match attacking direction in 1st period.

e.g.

new.x = pitchLength - x
new.y = pitchWidth - y
@JoGall
Copy link
Owner Author

JoGall commented Jun 8, 2018

Added soccerFlipHoriz.R() function to flip x,-y-coordinates of both sides in one half.

@JoGall JoGall closed this as completed Jun 8, 2018
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

No branches or pull requests

1 participant