atavism.server.physics
Class ColladaPhysicsParser
java.lang.Object
atavism.server.physics.ColladaPhysicsParser
public class ColladaPhysicsParser
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNITS_PER_METER
public static float UNITS_PER_METER
ColladaPhysicsParser
public ColladaPhysicsParser()
processShape
public static Shape<? extends Geometry> processShape(org.w3c.dom.Element shapeElement)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
main
public static void main(java.lang.String[] argv)
parsePhysics
public static java.util.List<Shape<? extends Geometry>> parsePhysics(java.lang.String physicsData)
parsePhysics
public static java.util.List<Shape<? extends Geometry>> parsePhysics(java.io.File f)
parsePhysics
public static java.util.List<Shape<? extends Geometry>> parsePhysics(java.io.InputStream physicsData)