The MASM Forum

General => The Campus => Topic started by: aw27 on April 20, 2017, 11:39:31 PM

Title: Fast matrix FlipX and FlipY
Post by: aw27 on April 20, 2017, 11:39:31 PM
For completeness I attach, x86 and x64 code to flip bidimensional matrixes around X and Y axis.
This code is not optimized.
BTW, flipping is technically called reflexion. Reflexions + Transposition allow matrixes to be rotated 90, 180 and 270 degrees.
In the attachment is shown how to rotate 180ยบ. Be carefull, read the comment there.
Title: Re: Fast matrix FlipX and FlipY
Post by: guga on April 21, 2017, 04:15:27 AM
Thank you. I was about to make another thread on those sort of matrices.

Starting rewritting the code  right now :)