public static void generateWireCuboid(TFloatList positions, TIntList indices, Vector3f size) {
        /*
         * 4------5
         * |\     |\
         * | 7------6
         * | |    | |
         * 0-|----1 |
         *  \|     \|
         *   3------2
         */
        // Corner positions
        final Vector3f p = size.div(2);
        final Vector3f p6 = new Vector3f(p.getX(), p.getY(), p.getZ());
        final Vector3f p0 = p6.negate();
        final Vector3f p7 = new Vector3f(-p.getX(), p.getY(), p.getZ());
        final Vector3f p1 = p7.negate();
        final Vector3f p4 = new Vector3f(-p.getX(), p.getY(), -p.getZ());
        final Vector3f p2 = p4.negate();
        final Vector3f p5 = new Vector3f(p.getX(), p.getY(), -p.getZ());
        final Vector3f p3 = p5.negate();
        // Add all of the corners
        addVector(positions, p0);
        addVector(positions, p1);
        addVector(positions, p2);
        addVector(positions, p3);
        addVector(positions, p4);
        addVector(positions, p5);
        addVector(positions, p6);
        addVector(positions, p7);
        // Top face
        addAll(indices, 4, 5, 5, 6, 6, 7, 7, 4);
        // Bottom face
        addAll(indices, 0, 1, 1, 2, 2, 3, 3, 0);
        // Sides
        addAll(indices, 6, 2, 7, 3, 4, 0, 5, 1);
    }
public static void generateWireCuboid ( TFloatList positions , TIntList indices , Vector3f size ) { final Vector3f p = size . div ( 2 ) ; final Vector3f p6 = new Vector3f ( p . getX ( ) , p . getY ( ) , p . getZ ( ) ) ; final Vector3f p0 = p6 . negate ( ) ; final Vector3f p7 = new Vector3f ( - p . getX ( ) , p . getY ( ) , p . getZ ( ) ) ; final Vector3f p1 = p7 . negate ( ) ; final Vector3f p4 = new Vector3f ( - p . getX ( ) , p . getY ( ) , - p . getZ ( ) ) ; final Vector3f p2 = p4 . negate ( ) ; final Vector3f p5 = new Vector3f ( p . getX ( ) , p . getY ( ) , - p . getZ ( ) ) ; final Vector3f p3 = p5 . negate ( ) ; addVector ( positions , p0 ) ; addVector ( positions , p1 ) ; addVector ( positions , p2 ) ; addVector ( positions , p3 ) ; addVector ( positions , p4 ) ; addVector ( positions , p5 ) ; addVector ( positions , p6 ) ; addVector ( positions , p7 ) ; addAll ( indices , 4 , 5 , 5 , 6 , 6 , 7 , 7 , 4 ) ; addAll ( indices , 0 , 1 , 1 , 2 , 2 , 3 , 3 , 0 ) ; addAll ( indices , 6 , 2 , 7 , 3 , 4 , 0 , 5 , 1 ) ; }
Generates a cuboid shaped wireframe (the outline of the cuboid). The center is at the middle of the cuboid.

@param positions Where to save the position information
@param indices Where to save the indices
@param size The size of the cuboid to generate, on x, y and z