Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_d3d_transform_add_scaling

(view raw script w/o annotations or w/e)
1
function d3d_transform_add_scaling(argument0, argument1, argument2) //gml_Script_d3d_transform_add_scaling
2
{
3
    var mT = matrix_build_identity()
4
    mT[0] = argument0
5
    mT[5] = argument1
6
    mT[10] = argument2
7
    var m = matrix_get(2)
8
    var mR = matrix_multiply(m, mT)
9
    matrix_set(2, mR)
10
}