   i need to point a gun texture to a mouse position how do i do this?
  here is my projecthttp://rapidshare.com/files/248943803/WindowsGame2.rar.htmli have a gun texture and i need to point the gun barrel to the mouse position accuratlyhow do i do this?i know i can do this with atan2 method but it doesn't rotate goodsorry for my bad English   
  You're English isn't bad, but you probably won't find much help if you ask people to download your code. Better to copy and paste the code in question and give a description of what you think the code is doing   ;  here is my new post:http://www.gamedev.net/community/forums/topic.asp?topic_id=539313   