you could use vec_to_screen(my.x,camera); instead of all in this code

manaul:
http://www.conitec.net/beta/avec_to_screen.htm


"empty"