Created
October 29, 2015 09:40
-
-
Save Sander-Kastelein/f7ff27a9b1a8e5599d40 to your computer and use it in GitHub Desktop.
CodeForPoster
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
double frontRightX = frontMiddleX + (width / frontInverseWidth * Math.Cos(rot + Math.PI * .5)); | |
double frontRightY = frontMiddleY + (width / frontInverseWidth * Math.Sin(rot + Math.PI * .5)); | |
double frontLeftX = frontMiddleX + (width / frontInverseWidth * -Math.Cos(rot + Math.PI * .5)); | |
double frontLeftY = frontMiddleY + (width / frontInverseWidth * -Math.Sin(rot + Math.PI * .5)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment