Template:Team:UC Davis/MutantWidget

From 2011.igem.org

(Difference between revisions)
Line 22: Line 22:
for(var i = 0;i < plot_mesh.length; i++)
for(var i = 0;i < plot_mesh.length; i++)
{
{
-
plot_obj.removeChild(plot_mesh[i]);
+
plot_obj.removeChild(datameshes[i]);
}
}
for(var i=0;i < datameshes.length; i++)
for(var i=0;i < datameshes.length; i++)
{
{
-
plot_obj.addChild(plot_mesh[i]);
+
plot_obj.addChild(datameshes[i]);
}
}
renderer.render(scene, camera);
renderer.render(scene, camera);

Revision as of 06:23, 26 September 2011