rotating texture

Blitz3D Forums/Blitz3D Programming/rotating texture

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

i have a problem,

i have texture and drawn a oval inside it with a virtical line,

i created a sprite and added the texture onto the sprite.

now rotating the sprite like this has the effect im after, BUT i need it for the texture

when i rotate the texture it does not rotate "from the middle"

does anyone know how to achieve this? my maths isn't very good and cos, and sins i know are part of it... please help