Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int xTile = (getRotation() == 0) ? 0 : (getRotation() == 45) ? 1 : (getRotation() == 90) ? 2 : (getRotation() == 135) ? 3 : (getRotation() == 180) ? 4 : (getRotation() == 225) ? 5 : (getRotation() == 270) ? 6 : 7;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement