Browse files

Add a note about vertex ordering for front vs back faces.

  • Loading branch information...
1 parent 50e03ad commit fac0b58d5ffacb456f5db45c3e6acc7352afe983 @deanm committed Jun 18, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 pre3d.js
@@ -485,6 +485,7 @@ var Pre3d = (function() {
// the data up to date, QuadFace stores a pre-calculated centroid and two
// normals (two triangles in a quad). This is an optimization for rendering
// and procedural operations, and you must set them correctly.
+ // NOTE: The front of a QuadFace has vertices in counter-clockwise order.
function QuadFace(i0, i1, i2, i3) {
this.i0 = i0;
this.i1 = i1;

0 comments on commit fac0b58

Please sign in to comment.