Template:Team:UC Davis/MutantWidget

From 2011.igem.org

(Difference between revisions)
Line 479: Line 479:
if(!thisfacecolor)
if(!thisfacecolor)
{
{
-
alert("something is terribly wrong!");
+
alert("something is terribly wrong!\na:"+data_3d[index].vertices[data_3d[index].faces[i].a].position.z+"\nb:"+data_3d[index].vertices[data_3d[index].faces[i].b].position.z+"\nc:"+data_3d[index].vertices[data_3d[index].faces[i].c].position.z+"\nd:"++data_3d[index].vertices[data_3d[index].faces[i].a].position.z);
}
}
var newcolor = colorRamp(thisfacecolor, cool_color_ramp);
var newcolor = colorRamp(thisfacecolor, cool_color_ramp);

Revision as of 02:42, 26 September 2011