Changed the keys in tessellation test case so that it doesn't step on movement keys

experimental
Nehon 10 years ago
parent 5b1e3e185b
commit 3d720e164e
  1. 4
      jme3-examples/src/main/java/jme3test/material/TestTessellationShader.java

@ -33,8 +33,8 @@ public class TestTessellationShader extends SimpleApplication {
geometry.setMaterial(tessellationMaterial);
rootNode.attachChild(geometry);
getInputManager().addMapping("TessUp", new KeyTrigger(KeyInput.KEY_A));
getInputManager().addMapping("TessDo", new KeyTrigger(KeyInput.KEY_Y));
getInputManager().addMapping("TessUp", new KeyTrigger(KeyInput.KEY_O));
getInputManager().addMapping("TessDo", new KeyTrigger(KeyInput.KEY_L));
getInputManager().addListener(new AnalogListener() {
@Override
public void onAnalog(String name, float value, float tpf) {

Loading…
Cancel
Save