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

This commit is contained in:
Nehon 2015-03-03 21:41:01 +01:00
parent 5b1e3e185b
commit 3d720e164e

View File

@ -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) {