Original Post
Hello all!I'm currently working on learning some OpenGL and making some test games.In my game,I make a player struct,which containts X and Y position.I know how to move it,using for example player.x+=speed.But I want the mouse to get it's position(I can get them),and move the player there(that is what I don't know how to do).I was looking at vectors,but can't find a good way to done it.Could anyone help me?Any help,or link to any tutorial or example is greetly appreciated!! thanks a lot guys.