News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Fast matrix FlipX and FlipY

Started by aw27, April 20, 2017, 11:39:31 PM

Previous topic - Next topic

aw27

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.

guga

Thank you. I was about to make another thread on those sort of matrices.

Starting rewritting the code  right now :)
Coding in Assembly requires a mix of:
80% of brain, passion, intuition, creativity
10% of programming skills
10% of alcoholic levels in your blood.

My Code Sites:
http://rosasm.freeforums.org
http://winasm.tripod.com