[Wolves] rotate 2d array by 45degrees

Andrew Lewis andrew at monkeysailor.co.uk
Fri Sep 23 11:18:57 BST 2005


> I was looking for a generic algorthim but I can't find any that seem to 
> work the way I want.  I guess it;s numeric time

can't you just shift each element 25% of the width of the array, move it
to the next line when you get to the end of the line and then just move
the last 25% of the last line to the start of the array?

Spline




More information about the Wolves mailing list