void renderTriangle( RenderState renderState, num x1, num y1, num x2, num y2, num x3, num y3, int color);