PDA

View Full Version : pointing the sprite at the cursor coords



Surgeon
07-25-2004, 12:14 AM
Hello! I have a textured quad on the screen at 100,100, how can I rotate it to make it point at the cursor? I have cursor coords in m_mousex and m_mousey. Please, help!

ZbuffeR
07-25-2004, 10:01 AM
This is not opengl, this is maths.