Rotating Matrix

  • Thread starter Thread starter Johnny Jörgensen
  • Start date Start date
J

Johnny Jörgensen

I need to rotate (transform) a two dimensional matrix (or more precisely an
array of objects - Dim MyArray(X,X) as object ) 45 degrees counterclockwise.

I used to be a wizz at math, but I haven't done this in more than twenty
years. So to make it easier on myself: Has anybody got a code snippet that
can do that?

Cheers,
Johnny
 
Johnny said:
I need to rotate (transform) a two dimensional matrix (or more
precisely an array of objects - Dim MyArray(X,X) as object ) 45
degrees counterclockwise.
I used to be a wizz at math, but I haven't done this in more than
twenty years. So to make it easier on myself: Has anybody got a code
snippet that can do that?

Always good for maths stuff:
http://mathworld.wolfram.com/RotationMatrix.html

Andrew
 
Back
Top