121122123124125126127128129130
*/ IntBuffer tmpIntBuffer; public DefaultSphereWindow() { cube = new Sphere(250, 250, 10); vertexIndices = ConversionUtils.integerArrayToInt16Array(cube.getIndices()); vertexVBO = cube.createInterleavedVBO(); }
*/ IntBuffer tmpIntBuffer; public DefaultTerrainWindow() { cube = new Sphere(250, 250, 10); vertexIndices = ConversionUtils.integerArrayToInt16Array(cube.getIndices()); vertexVBO = cube.createInterleavedVBO(); }