private static void initGeom(Mesh m, Vector3f[] points) {
        if (points != null)
            m.setBuffer(Type.Position, 3, BufferUtils.createFloatBuffer(points));

        m.setBuffer(Type.Index, 2,
                new short[]{
                        0, 1,
                        1, 2,
                        2, 3,
                        3, 0,

                        4, 5,
                        5, 6,
                        6, 7,
                        7, 4,

                        0, 4,
                        1, 5,
                        2, 6,
                        3, 7,
                }
        );
        m.getBuffer(Type.Index).setUsage(Usage.Static);
        m.setMode(Mode.Lines);
    }
This constructor is for serialization only. Do not use.
jme3-core/src/main/java/com/jme3/scene/debug/WireFrustum.java