Split Square Into Smaller Squares
#1

Hi

I'm looking for some code to basically split a square into lots of equal sized squares, rectangles would also work.
I need this so I can quickly and rapidly make a set of gangzones.

If I can figure out how to make a function, input the max x & y, and minimum x & y, and it out puts a bunch of co-ords for the max x & y and min x & y of smaller squares, for the gangzones.

Anyone any idea how I would achieve this sort of math in Pawn?

- Cheers
Reply


Messages In This Thread
Split Square Into Smaller Squares - by Redirect Left - 02.02.2018, 23:51
Re: Split Square Into Smaller Squares - by NaS - 02.02.2018, 23:59
Re: Split Square Into Smaller Squares - by Marricio - 03.02.2018, 00:17
Re: Split Square Into Smaller Squares - by NaS - 03.02.2018, 00:19
Re: Split Square Into Smaller Squares - by Marricio - 03.02.2018, 00:20
Re: Split Square Into Smaller Squares - by NaS - 03.02.2018, 00:28
Re: Split Square Into Smaller Squares - by Redirect Left - 03.02.2018, 16:58
Re: Split Square Into Smaller Squares - by NaS - 03.02.2018, 17:26

Forum Jump:


Users browsing this thread: 2 Guest(s)