Changed the keys in tessellation test case so that it doesn't step on movement keys
This commit is contained in:
parent
5b1e3e185b
commit
3d720e164e
@ -33,8 +33,8 @@ public class TestTessellationShader extends SimpleApplication {
|
|||||||
geometry.setMaterial(tessellationMaterial);
|
geometry.setMaterial(tessellationMaterial);
|
||||||
rootNode.attachChild(geometry);
|
rootNode.attachChild(geometry);
|
||||||
|
|
||||||
getInputManager().addMapping("TessUp", new KeyTrigger(KeyInput.KEY_A));
|
getInputManager().addMapping("TessUp", new KeyTrigger(KeyInput.KEY_O));
|
||||||
getInputManager().addMapping("TessDo", new KeyTrigger(KeyInput.KEY_Y));
|
getInputManager().addMapping("TessDo", new KeyTrigger(KeyInput.KEY_L));
|
||||||
getInputManager().addListener(new AnalogListener() {
|
getInputManager().addListener(new AnalogListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onAnalog(String name, float value, float tpf) {
|
public void onAnalog(String name, float value, float tpf) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user