Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Copyright (c) 2012 [iPs]TeaM
- * Bruno da Silva (contato@brunodasilva.com)
- * Função para pegar o centro de uma zona. Dado maxy,maxx,miny,minx;
- * www.brunodasilva.com
- * www.ips-team.forumeiros.com
- */
- function centreZone(minX, maxX, minY, maxY) {
- return { centerX:(maxX - minX) / 2 + minX, centerY: (maxY - minY) / 2 + minY};
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement