To have them drawn in the correct order I used gl.enable(gl. ... depthFunc(gl.GEQUAL); ... gl.bindBuffer(gl.ARRAY_BUFFER, dataBuffer); gl.bufferData(gl.
確定! 回上一頁