Flattens a 2D or 3D array whether its a flat point ([x, y, z]) or object ({ x, y, z })
either a 2D or 3D array
Flattens a 2D or 3D array whether its a flat point ([x, y, z]) or object ({ x, y, z })