Add triangle primitives.