Added triangle split functions.