Add triangle primitive.