- Click on the left mouse button and move the coursor to rotate
+ Click on the left mouse button and move the cursor to rotate
@@ -155,7 +155,7 @@
code09.html COMMENTS
- A simple 3D rendering of cube using gl elemenntary array
+ A simple 3D rendering of cube using gl element array
diff --git a/12-shading.js b/12-shading.js
index 200f22f..9197f10 100644
--- a/12-shading.js
+++ b/12-shading.js
@@ -263,7 +263,7 @@ function initSQBuffers() {
gl.vertexAttribPointer(shaderProgram.vertexColorAttribute,cylinderVertexColorBuffer.itemSize, gl.FLOAT, false, 0, 0);
- // draw elementary arrays - triangle indices
+ // draw element arrays - triangle indices
// gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, squareVertexIndexBuffer);
gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, cylinderVertexIndexBuffer);
diff --git a/3Dcube.html b/3Dcube.html
index 3d4bbe2..11db61d 100644
--- a/3Dcube.html
+++ b/3Dcube.html
@@ -64,7 +64,7 @@
Background:
- Click on the left mouse button and move the coursor to rotate
+ Click on the left mouse button and move the cursor to rotate
@@ -74,7 +74,7 @@
3Dcube.html COMMENTS
- A simple 3D rendering of cube using gl elemenntary array. Left click mouse button and drag to rotate.
+ A simple 3D rendering of cube using gl element array. Left click mouse button and drag to rotate.
diff --git a/3Dcube.js b/3Dcube.js
index 9edfada..f84bde6 100644
--- a/3Dcube.js
+++ b/3Dcube.js
@@ -119,7 +119,7 @@ var draw_type=2;
gl.bindBuffer(gl.ARRAY_BUFFER, squareVertexColorBuffer);
gl.vertexAttribPointer(shaderProgram.vertexColorAttribute,squareVertexColorBuffer.itemSize, gl.FLOAT, false, 0, 0);
- // draw elementary arrays - triangle indices
+ // draw element arrays - triangle indices
gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, squareVertexIndexBuffer);
setMatrixUniforms(); // pass the modelview mattrix and projection matrix to the shader
diff --git a/8-transform-ortho2D.html b/8-transform-ortho2D.html
index c16b7f4..012a17a 100644
--- a/8-transform-ortho2D.html
+++ b/8-transform-ortho2D.html
@@ -64,7 +64,7 @@
Background:
- Click on the left mouse button and move the coursor to rotate
+ Click on the left mouse button and move the cursor to rotate
- - Click on the left mouse button and move the coursor to rotate; select the squre and apply 'X', 'x', 'Y','y'
+ - Click on the left mouse button and move the cursor to rotate; select the squre and apply 'X', 'x', 'Y','y'
- Click on the left mouse button and move the coursor to rotate
+ Click on the left mouse button and move the cursor to rotate
@@ -193,7 +193,7 @@
cubeMappedTeapot.html
- An exmple of rendering Utah teapot using Environment Cube Map
+ An example of rendering Utah teapot using Environment Cube Map
diff --git a/element-array.js b/element-array.js
index e92bd22..34b8650 100644
--- a/element-array.js
+++ b/element-array.js
@@ -75,7 +75,7 @@
gl.vertexAttribPointer(shaderProgram.vertexColorAttribute, squareVertexBuffer.numFloats, gl.FLOAT, false,stride, offset); // 6*4 is the stride size, 3*4 is the offset
offset = 0;
- // draw elementary arrays - triangle indices
+ // draw element arrays - triangle indices
gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, squareVertexIndexBuffer);
gl.drawElements(gl.TRIANGLES, 6, gl.UNSIGNED_SHORT, 0);
diff --git a/hierarchicalXform.html b/hierarchicalXform.html
index 416eb5e..906b9b5 100644
--- a/hierarchicalXform.html
+++ b/hierarchicalXform.html
@@ -67,7 +67,7 @@
Background:
- - Click on the left mouse button and move the coursor to rotate. select square 1, 2, 3 and apply 'X, 'x', 'Y', 'y'
+ - Click on the left mouse button and move the cursor to rotate. select square 1, 2, 3 and apply 'X, 'x', 'Y', 'y'