public void addModel(String file,Class modelFormat){
  ModelPoolEntry entry=ModelPool.addFile(file,modelFormat,transformGroup,textureGroup);
  if (entry == null)   return;
  PositionTextureVertex[] verts=Arrays.copyOf(entry.vertices,entry.vertices.length);
  TexturedPolygon[] poly=Arrays.copyOf(entry.faces,entry.faces.length);
  if (flip) {
    for (    TexturedPolygon face : faces) {
      face.flipFace();
    }
  }
  copyTo(verts,poly,false);
}

public void addModel ( String file , Class modelFormat ) { ModelPoolEntry entry = ModelPool . addFile ( file , modelFormat , transformGroup , textureGroup ) ; if ( entry == null ) return ; PositionTextureVertex [ ] verts = Arrays . copyOf ( entry . vertices , entry . vertices . length ) ; TexturedPolygon [ ] poly = Arrays . copyOf ( entry . faces , entry . faces . length ) ; if ( flip ) { for ( TexturedPolygon face : faces ) { face . flipFace ( ) ; } } copyTo ( verts , poly , false ) ; }
adds model format support . model files use the entire texture file .
