public void updatePoints(Vector3f start, Vector3f[] ends) {
        VertexBuffer posBuf = getBuffer(Type.Position);
        FloatBuffer fb = (FloatBuffer) posBuf.getData();
        fb.rewind();
        fb.put(start.x).put(start.y).put(start.z);
        for (int i = 0; i < ends.length; i++) {
            fb.put(ends[i].x);
            fb.put(ends[i].y);
            fb.put(ends[i].z);
        }
        posBuf.updateData(fb);

        VertexBuffer normBuf = getBuffer(Type.Normal);
        fb = (FloatBuffer) normBuf.getData();
        fb.rewind();
        for (int i = 0; i < ends.length * 3 + 3; i += 3) {
            fb.put(start.x);
            fb.put(start.y);
            fb.put(start.z);
        }
        normBuf.updateData(fb);
    }
Update the start and end points of the line.

@param start location vector (not null, unaffected)
@param ends array of location vectors (not null, unaffected)
jme3-core/src/main/java/com/jme3/scene/debug/custom/ArmatureInterJointsWire.java