code: public static TFloatList generateNormals(TFloatList positions, TIntList indices) {
          final TFloatList normals = new TFloatArrayList();
          generateNormals(positions, indices, normals);
          return normals;
      }
docs: Generate the normals for the positions, according to the indices. This assumes that the positions have 3 components, in the x, y, z order. The normals are stored as a 3 component vector, in the
  x, y, z order.
  
  @param positions The position components
  @param indices The indices
  @return The normals