Jump to content
  • Advertisement
Sign in to follow this  
jn_rntkl

D3d8 mirror texture

This topic is 4731 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

I'm using VB and draw a texture using d3dxsprite.draw. How do i mirror it from left to right before drawing? It was easy in DirectDraw, but for directx 8 there are few 2d tutorials...

Share this post


Link to post
Share on other sites
Advertisement
Ahh, i solved the problem :)

In case someone wants to know, having scaling.x as -1 and translation.x as texture width the texture is drawn mirrored and on it's right place.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!