Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function calculate (WBTYRE_TOP_X, WBTYRE_TOP_Y, WBTYRE_BOTTOM_X, WBTYRE_BOTTOM_Y, wheelRadius){
- return WBTYRE_BOTTOM_X - (WBTYRE_TOP_X - WBTYRE_BOTTOM_X) * (WBTYRE_BOTTOM_Y + wheelRadius) / (WBTYRE_TOP_Y - WBTYRE_BOTTOM_Y);
- }
Advertisement
Add Comment
Please, Sign In to add comment