i tried to do it myself many time but all tryes wher a bit wrong but came close

i gues you are searching for this

vec_for_screen ( VECTOR*, VIEW*);


"empty"