function init() { let gl = core.getGL(); // Step A: Create a buffer on the gl context for our vertex positions mGLVertexBuffer = gl.createBuffer(); // Step B: Activate vertexBuffer gl.bindBuffer(gl.ARRAY_BUFFER, mGLVertexBuffer); // Step C: Loads mVerticesOfSquare into the verte...
When you called cowpies.push(new Cowpie); you added something that was not an image to the array, which caused this error. Members 482 Location:Brownsville, Tx Author PostedApril 23, 2016 Thanks , Yes , I am having difficulty with the distinction between ...