Jump to content
  • Advertisement
Sign in to follow this  
-justin-

Flip an image with d3d sprite class?

This topic is 4873 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

If I have an image... let's say it's a drawing of an arrow... --> how do i define my rectangle to make the image be: <-- i want to know because i've tried some things and when i try to google it all that shows up is page flipping and the like thanx

Share this post


Link to post
Share on other sites
Advertisement
I believe that you just need to scale it by an x factor of -1. That should flip it. However, I'm not sure if it will flip about itself or the y axis. Some additional translation may be required :).

-Jeff

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!