as.triangles3d function

Convert an object to triangles