def correct_mesh_orientation(volume, verts, faces, spacing=(1.0, 1.0, 1.0), gradient_direction='descent'):
 warn(DeprecationWarning('`correct_mesh_orientation` is deprecated for removal as `marching_cubes_classic` now guarantees correct mesh orientation.'))
 verts = verts.copy()
 verts[:, 0] /= spacing[0]
 verts[:, 1] /= spacing[1]
 verts[:, 2] /= spacing[2]
 actual_verts = verts[faces]
 return _correct_mesh_orientation(volume, actual_verts, faces, spacing, gradient_direction)

def correct_mesh_orientation ( volume , verts , faces , spacing = ( 1.0 , 1.0 , 1.0 ) , gradient_direction = 'descent' ) : warn ( DeprecationWarning ( '`correct_mesh_orientation` is deprecated for removal as `marching_cubes_classic` now guarantees correct mesh orientation.' ) ) verts = verts . copy ( ) verts [ : , 0 ] /= spacing [ 0 ] verts [ : , 1 ] /= spacing [ 1 ] verts [ : , 2 ] /= spacing [ 2 ] actual_verts = verts [ faces ] return _correct_mesh_orientation ( volume , actual_verts , faces , spacing , gradient_direction )
correct orientations of mesh faces .