code: public static void normalize(Point3d point) {
          double sum = Math.sqrt(point.x * point.x + point.y * point.y + point.z * point.z);
          point.x = point.x / sum;
          point.y = point.y / sum;
          point.z = point.z / sum;
      }
docs: Normalizes a point.
  
  @param point The point to normalize