Permalink
Browse files

fix per-triangle colors

  • Loading branch information...
1 parent 17f7aeb commit d7377d9d65b29d19c9fbcf195c692535f1b8e4f9 @jlongster committed Aug 4, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 dom3d.js
View
@@ -50,6 +50,7 @@
var tri = _transform_points(mesh, data[i]);
tri.ref = data[i].ref;
+ tri.color = data[i].color;
_tri_apply(tri, function(v) {
_vec_subtract(v, eye);

0 comments on commit d7377d9

Please sign in to comment.