Major upgrade to BresenhamTriangle