3 implementations of xtm_add_tri:
#1
/digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm ·
#2
/digego/extempore/tree/v0.8.9/libs/contrib/nanovg_helper.xtm ·
#3
/digego/extempore/tree/v0.8.9/libs/contrib/nanovg_helper.xtm
(bind-func xtm_add_tri
(lambda (path x1 y1 x2 y2 x3 y3)
(let ((points:VGfloat* (salloc 6)))
(pfill! points x1 y1 x2 y2 x3 y3)
(vguPolygon path points 3 VG_TRUE))))