int val = angleSlider.getValue(); TestRenParticleGUI.manager.setEmissionMaximumAngle( (float) val * FastMath.DEG_TO_RAD); updateAngleLabels();
int val = emitXSlider.getValue(); if (TestRenParticleGUI.manager != null) { TestRenParticleGUI.manager.getEmissionDirection().x = (float) val * .1f; TestRenParticleGUI.manager.updateRotationMatrix(); }
      public void stateChanged(ChangeEvent e) {        int val = angleSlider.getValue();        TestRenParticleGUI.manager.setEmissionMaximumAngle( (float) val *            FastMath.DEG_TO_RAD);        updateAngleLabels();        regenCode();      }