cNode.setCullMode(useModel ? Spatial.CULL_ALWAYS : Spatial.CULL_DYNAMIC); cNode2.setCullMode(!useModel ? Spatial.CULL_ALWAYS : Spatial.CULL_DYNAMIC);
cNode.setCullMode(useModel ? SceneElement.CULL_ALWAYS : SceneElement.CULL_DYNAMIC); cNode2.setCullMode(!useModel ? SceneElement.CULL_ALWAYS : SceneElement.CULL_DYNAMIC);
  protected void simpleUpdate() {      if ( KeyBindingManager.getKeyBindingManager().isValidCommand(              "load_here", false ) ) {          try {              rootNode = null;              rootNode = (Node)BinaryImporter.getInstance().load(new File("rootNode.save"));              rootNode.updateGeometricState(0, true);              rootNode.updateRenderState();              cNode2 = (ClodMesh)rootNode.getChild(1);              System.out.println("loaded here successfully");          } catch (IOException e) {              e.printStackTrace();          }      }    if (System.currentTimeMillis() - lastPress > 100) {      if (KeyBindingManager          .getKeyBindingManager()          .isValidCommand("detail_down")) {        if (useModel)          cNode2.setTargetRecord( (cNode2.getTargetRecord()) + 10);        else          cNode.setTargetRecord( (cNode.getTargetRecord()) + 25);        lastPress = System.currentTimeMillis();      }      if (KeyBindingManager          .getKeyBindingManager()          .isValidCommand("detail_up")) {        if (useModel)          cNode2.setTargetRecord( (cNode2.getTargetRecord()) - 10);        else          cNode.setTargetRecord( (cNode.getTargetRecord()) - 25);        lastPress = System.currentTimeMillis();      }    }    if (KeyBindingManager        .getKeyBindingManager()        .isValidCommand("switch_models", false)) {      useModel = !useModel;      cNode.setCullMode(useModel ? Spatial.CULL_ALWAYS : Spatial.CULL_DYNAMIC);      cNode2.setCullMode(!useModel ? Spatial.CULL_ALWAYS : Spatial.CULL_DYNAMIC);    }  }