code: def normalize_mesh(mesh, in_place=True):
      """Rescales vertex positions to lie inside unit cube."""
      scale = 1.0 / np.max(mesh.bounds[1, :] - mesh.bounds[0, :])
      centroid = mesh.centroid
      scaled_vertices = (mesh.vertices - centroid) * scale
      if in_place:
          scaled_mesh = mesh
          scaled_mesh.vertices = scaled_vertices
      else:
          scaled_mesh = mesh.copy()
          scaled_mesh.vertices = scaled_vertices
      scaled_mesh.fix_normals()
      return scaled_mesh
  
file_path: graphics/tensorflow_graphics/projects/local_implicit_grid/resample_geometry.py
imports: import os
  from absl import app
  from absl import flags
  import numpy
  from tensorflow_graphics.projects.local_implicit_grid.core import point_utils
  import trimesh
label_desc: Use image node_id 1 for calling a global function with example usage: normalize_mesh(mesh, in_place) and returns: scaled_mesh