[NTG-context] Metfun macro for triangle