MCPcopy
hub / github.com/mrdoob/texgen.js / showObject

Function showObject

editor/main.js:561–579  ·  view source on GitHub ↗
( button )

Source from the content-addressed store, hash-verified

559}
560
561function showObject( button ) {
562
563 if ( button.id == "cube" ) {
564
565 cube.visible = true;
566 sphere.visible = false;
567 button.className = "selected";
568 document.getElementById("sphere").className = "";
569
570 } else {
571
572 cube.visible = false;
573 sphere.visible = true;
574 button.className = "selected";
575 document.getElementById("cube").className = "";
576
577 }
578
579}
580
581var texture = new TGUI.Texture();
582var stepList;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected