Adding code for triangle uv mapping