08.04.2012, 20:07
Well, did you even test your example ?
This also applies to this:
Actually you don't need to save your position at 4 spots to create a rectancle / sqaure.
2 SAVE + 4 SAVE or 1 SAVE + 3 SAVE.
Quote:
MIN X = 2505.0696 <- WRONG, 2466.7537 is smaller MIN Y = -1654.5638 <- WRONG, -1686.3413 is smaller MAX X = 2466.7537 <- WRONG , 2505.0696 is bigger MAX Y = -1686.3413 <- WRONG, -1654.5638 is bigger |
pawn Код:
GROVE = GangZoneCreate(2505.8362, -1649.8331, 2473.1072, -1687.1586);
// minx miny maxx maxy
// Grove
Quote:
http://imgur.com/ySfM5 |