use of org.eaxy.Document in project Terasology by MovingBlocks.
the class ColladaLoader method parseSkeletalMeshData.
public SkeletalMeshData parseSkeletalMeshData(InputStream inputStream) throws ColladaParseException, IOException {
Document document = Xml.readAndClose(inputStream);
Element rootElement = document.getRootElement();
parseMeshData(rootElement);
parseSkeletalMeshData(rootElement);
return skeletonBuilder.build();
}
use of org.eaxy.Document in project Terasology by MovingBlocks.
the class ColladaLoader method parseMeshData.
public void parseMeshData(InputStream inputStream) throws ColladaParseException, IOException {
Document document = Xml.readAndClose(inputStream);
Element rootElement = document.getRootElement();
parseMeshData(rootElement);
}