   Single point from x and y coordinates
  You might have seen the game im working on before, Faction 4.  The game uses and abuse like control scheme, 360 shooting i guess it would be called.  Im working on the weapon fire function right now, I'd like to know how to get a single point from two coordinates in c++, specifically X and Y.  I forget which math thingie Im suppose to use, sin, cosin??  Idk, anyway thanks for your help.*Sorry for the badly composed post, Im usually more alert*   
  Maybe you can clarify how an (x,y) pair is not a single point?maybe you mean (and I say this because I've played ABUSE and I think I know what you're getting at) given an point in (x,y) how do you get a direction?let's say you want angle at the origin between the x-axis and the line from the origin to (x,y)The simplest solution is to call the function atan2(x,y) and it will return the angle in radians. Negative values indicate a point below the x axis.If you're not using C/C++ and you don't have atan2(), you get an equivalent result from sign(y)*atan(x/y), where sign(y) returns 1 if y>0 and -1 if y<0.   ;  Yea, atan2, I've actually got it in the code already, im curious would ++direction work for send a projectile in the direction of the players arm angle??   ;  It sounds to me that you can just transfer the player angle to the shot, give it a velocity, and move it with that.dx = cos(shot.angle) * shot.velocity;dy = sin(shot.angle) * shot.velocity;shot.x += dx;shot.y += dy;Angle must be in readians ofcourse.   ;  Genius.  Thanks both for your help.   