Skip to content

Commit

Permalink
reindent
Browse files Browse the repository at this point in the history
  • Loading branch information
biasmv committed Jan 17, 2015
1 parent 259725e commit 7486669
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/indexed-vertex-array.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,14 @@ derive(IndexedVertexArray, VertexArrayBase, {
if (shader.normalAttrib !== -1) {
gl.enableVertexAttribArray(shader.normalAttrib);
gl.vertexAttribPointer(shader.normalAttrib, 3, gl.FLOAT, false,
this._FLOATS_PER_VERT * 4,
this._NORMAL_OFFSET * 4);
this._FLOATS_PER_VERT * 4,
this._NORMAL_OFFSET * 4);
}

if (shader.colorAttrib !== -1) {
gl.vertexAttribPointer(shader.colorAttrib, 4, gl.FLOAT, false,
this._FLOATS_PER_VERT * 4,
this._COLOR_OFFSET * 4);
this._FLOATS_PER_VERT * 4,
this._COLOR_OFFSET * 4);
gl.enableVertexAttribArray(shader.colorAttrib);
}
if (shader.objIdAttrib !== -1) {
Expand Down

0 comments on commit 7486669

Please sign in to comment.