private void updateBoneMesh(Geometry geom, Vector3f start, Vector3f[] ends) {
        if (geom.getMesh() instanceof ArmatureInterJointsWire) {
            ((ArmatureInterJointsWire) geom.getMesh()).updatePoints(start, ends);
        } else if (geom.getMesh() instanceof Line) {
            ((Line) geom.getMesh()).updatePoints(start, ends[0]);
        }
        geom.updateModelBound();
    }
Creates a wire with bone lengths data. If the data is supplied then the
wires will show each full bone (from head to tail).

@param armature the armature that will be shown
@param joints the Node to visualize joints
@param wires the Node to visualize wires
@param outlines the Node to visualize outlines
@param deformingJoints a list of joints
jme3-core/src/main/java/com/jme3/scene/debug/custom/ArmatureNode.java