(bind-func xtm_add_tri (lambda (path x1:float y1:float x2:float y2:float x3:float y3:float) (nvgMoveTo path x1 y1) (nvgLineTo path x2 y2) (nvgLineTo path x3 y3) (nvgClosePath path)))