code: public static void resize(GVRMesh mesh, float size) {
          float dim[] = getBoundingSize(mesh);
          float maxsize = 0.0f;
  
          if (dim[0] > maxsize) maxsize = dim[0];
          if (dim[1] > maxsize) maxsize = dim[1];
          if (dim[2] > maxsize) maxsize = dim[2];
  
          scale(mesh, size / maxsize);
      }
docs: Resize the given mesh keeping its aspect ration.
  @param mesh Mesh to be resized.
  @param size Max size for the axis.