diff --git a/src/primitives.js b/src/primitives.js index d740f94a..0c040a2b 100644 --- a/src/primitives.js +++ b/src/primitives.js @@ -46,7 +46,7 @@ * * example: * - * const arrays = twgl.primitives.createPlaneArrays(1); + * const arrays = twgl.primitives.createPlaneVertices(1); * twgl.primitives.reorientVertices(arrays, m4.rotationX(Math.PI * 0.5)); * const bufferInfo = twgl.createBufferInfoFromArrays(gl, arrays); *