Exemplo n.º 1
0
 @Override
 public void glDrawElements(int mode, int count, int type, Buffer indices) {
   gl.drawElements(
       mode,
       count,
       type,
       indices.position()); // FIXME this is assuming WebGL supports client side buffers...
 }
Exemplo n.º 2
0
 @Override
 public void glDrawElements(int mode, int count, int type, int indices) {
   gl.drawElements(mode, count, type, indices);
 }