Search in sources :

Example 1 with Document

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();
}
Also used : Element(org.eaxy.Element) Document(org.eaxy.Document)

Example 2 with Document

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);
}
Also used : Element(org.eaxy.Element) Document(org.eaxy.Document)

Aggregations

Document (org.eaxy.Document)2 Element (org.eaxy.Element)2