Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_d3d_vertex_normal_texture

(view raw script w/o annotations or w/e)
1
function d3d_vertex_normal_texture(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
2
{
3
    vertex_position_3d(global.__d3dPrimBuffer, arg0, arg1, arg2);
4
    vertex_normal(global.__d3dPrimBuffer, arg3, arg4, arg5);
5
    vertex_colour(global.__d3dPrimBuffer, draw_get_colour(), draw_get_alpha());
6
    vertex_texcoord(global.__d3dPrimBuffer, (arg6 * global.__d3dPrimTexW) + global.__d3dPrimTexX, (arg7 * global.__d3dPrimTexH) + global.__d3dPrimTexY);
7
}