if (vec_to_screen(model.x,camera))
0 - Result is outside the view.
1 - Result is inside the view.


Never say never.