is your camera always at the origin? have a look at vec_for_screen.