switch into obj for triangle