Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double xd, yd;
- glfwGetCursorPos(mainWindow, &xd, &yd);
- b2Vec2 ps((float32)xd, (float32)yd);
- g_vMousePos = g_camera.ConvertScreenToWorld(ps);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement