Guest User

Untitled

a guest
Jan 21st, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. scaleX = (max.x -min.x);
  2. scaleY = (max.y -min.y);
  3. scaleZ = (max.z -min.z);
  4.  
  5. positionX = min.x + scaleX/2;
  6. positionY = min.y + scaleY/2;
  7. positionZ = min.z + scaleZ/2;
Add Comment
Please, Sign In to add comment