src/primitives.js
function createBufferInfoFunc(fn) {
  return function(gl) {
    const arrays = fn.apply(null,  Array.prototype.slice.call(arguments, 1));
    return attributes.createBufferInfoFromArrays(gl, arrays);
  };
}
function createBufferInfoFunc(fn) {
  return function(gl) {
    const arrays = fn.apply(null,  Array.prototype.slice.call(arguments, 1));
    return attributes.createBufferInfoFromArrays(gl, arrays);
  };
}
function createBufferInfoFunc ( fn ) { return function ( gl ) { const arrays = fn . apply ( null , Array . prototype . slice . call ( arguments , 1 ) ) ; return attributes . createBufferInfoFromArrays ( gl , arrays ) ; } ; }
creates a function that calls fn to create vertices and then
creates a bufferInfo object for them
@private
creates a function that calls fn to create vertices and then creates a bufferInfo object for them