Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_d3d_vertex_texture

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