Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_d3d_transform_set_translation

(view raw script w/o annotations or w/e)
1
function d3d_transform_set_translation(argument0, argument1, argument2) //gml_Script_d3d_transform_set_translation
2
{
3
    var m = matrix_build_identity()
4
    m[12] = argument0
5
    m[13] = argument1
6
    m[14] = argument2
7
    matrix_set(2, m)
8
}