PDA

View Full Version : Mirror a model completely?



Flotonic
05-29-2011, 01:55 PM
I'm not looking for any fancy mirroring effects like a puddle. I just need a means of mirroring (flipping) a model along an axis.

http://i364.photobucket.com/albums/oo89/Flotonic/LinkMirrored.png

The part pointing up should be on the left side, so I know the whole model should be mirrored. Is there a simple, one-lined piece of code that will solve this problem? Thanks!

Flotonic
05-30-2011, 09:02 AM
Problem solved. :cool: For anyone with the same question as me in the future, just scale with a negative value.

glScalef(-1, 1, 1);