ValveTime.co.uk | Valve News, Forums, Steam

Hi !

I have a texture, quad, displayed perfectly in game as a hud element (CHudTexture).

My problem is I want to be able to display it rotated, and the angle of rotation changes during game.
It means i must say, in my HudElement paint() method, what is the angle of rotation. I know how to get this angle, but i don't know how to use it to rotate the texture.

I didn't find in the code a way to do this. I looked in isurface.h, iimage.h, hud.h...

Anyone has an idea?
Back
Top