Skip to content

Instantly share code, notes, and snippets.

@janisozaur
Created January 6, 2011 13:20
Show Gist options
  • Save janisozaur/767873 to your computer and use it in GitHub Desktop.
Save janisozaur/767873 to your computer and use it in GitHub Desktop.
original source
xRot = 360 * asin((mRightFrontPos.y() - mRightZeroPos.y()) / (rightFrontX - mRightZeroPos).length()) * M_1_PI / 2;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment