var cam = camera_get_active(); global.projMat = camera_get_proj_mat(cam); global.viewMat = camera_get_view_mat(cam); setCam(); draw_set_color(c_black); draw_rectangle(-9999, -9999, 9999, 9999, false); drawModels(); var i, j, k; for (i=0; i