Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_d3d_set_projection_ext

(view raw script w/o annotations or w/e)
1
function d3d_set_projection_ext(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12)
2
{
3
    var mV = matrix_build_lookat(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
4
    var mP = matrix_build_projection_perspective_fov(-arg9, -arg10, arg11, arg12);
5
    camera_set_view_mat(camera_get_active(), mV);
6
    camera_set_proj_mat(camera_get_active(), mP);
7
    camera_apply(camera_get_active());
8
}