added ability to draw filled triangles