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(argument0, argument1, argument2, argument3, argument4, argument5, argument6, argument7, argument8, argument9, argument10, argument11, argument12) //gml_Script_d3d_set_projection_ext
2
{
3
    var mV = matrix_build_lookat(argument0, argument1, argument2, argument3, argument4, argument5, argument6, argument7, argument8)
4
    var mP = matrix_build_projection_perspective_fov((-argument9), (-argument10), argument11, argument12)
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
}