MinieLibrary/src/main/java/com/jme3/bullet/collision/shapes/HullCollisionShape.java
/**
     * De-serialize this shape from the specified importer, for example when
     * loading from a J3O file.
     *
     * @param importer (not null)
     * @throws IOException from the importer
     */
De-serialize this shape from the specified importer, for example when
loading from a J3O file.

@param importer (not null)
@throws IOException from the importer
De - serialize this shape from the specified importer for example when loading from a J3O file . @param importer ( not null ) @throws IOException from the importer
@Override
    public void read(JmeImporter importer) throws IOException {
        super.read(importer);
        InputCapsule capsule = importer.getCapsule(this);
        Mesh mesh = (Mesh) capsule.readSavable(tagHullMesh, null);
        if (mesh != null) {
            points = getPoints(mesh);
        } else {
            points = capsule.readFloatArray(tagPoints, new float[0]);
        }
        createShape();
    }
@ Override public void read ( JmeImporter importer ) throws IOException { super . read ( importer ) ; InputCapsule capsule = importer . getCapsule ( this ) ; Mesh mesh = ( Mesh ) capsule . readSavable ( tagHullMesh , null ) ; if ( mesh != null ) { points = getPoints ( mesh ) ; } else { points = capsule . readFloatArray ( tagPoints , new float [ 0 ] ) ; } createShape ( ) ; }
De-serialize this shape from the specified importer, for example when
 loading from a J3O file.
De - serialize this shape from the specified importer for example when loading from a J3O file .
// for backwards compatibility
