Add triangle primitive and rotation operation