- fix coord display for WorldOfInception

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10409 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent 50b7ed3b91
commit 8f5a8500a6
  1. 1
      engine/src/test/jme3test/games/WorldOfInception.java

@ -463,6 +463,7 @@ public class WorldOfInception extends SimpleApplication implements AnalogListene
InceptionLevel cur = this; InceptionLevel cur = this;
StringBuilder strb = new StringBuilder(); StringBuilder strb = new StringBuilder();
strb.insert(0, this.getPlayerPosition()); strb.insert(0, this.getPlayerPosition());
strb.insert(0, this.getPositionInParent() + " / ");
cur = cur.getParent(); cur = cur.getParent();
while (cur != null) { while (cur != null) {
strb.insert(0, cur.getPositionInParent() + " / "); strb.insert(0, cur.getPositionInParent() + " / ");

Loading…
Cancel
Save