gmo61520

Untitled

Feb 11th, 2016
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. function calculate (WBTYRE_TOP_X, WBTYRE_TOP_Y, WBTYRE_BOTTOM_X, WBTYRE_BOTTOM_Y, wheelRadius){
  2. return WBTYRE_BOTTOM_X - (WBTYRE_TOP_X - WBTYRE_BOTTOM_X) * (WBTYRE_BOTTOM_Y + wheelRadius) / (WBTYRE_TOP_Y - WBTYRE_BOTTOM_Y);
  3. }
Advertisement
Add Comment
Please, Sign In to add comment