mitm001 преди 5 години
родител
ревизия
6d7b76fb40
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      docs/modules/tutorials/pages/beginner/hello_input_system/timekeypressed.adoc

+ 4 - 4
docs/modules/tutorials/pages/beginner/hello_input_system/timekeypressed.adoc

@@ -1,13 +1,13 @@
 = jMonkeyEngine 3 Tutorial (5) - Hello Input System - Variation over time key is pressed
-:author: 
-:revnumber: 
+:author:
+:revnumber:
 :revdate: 2016/03/17 20:48
 :relfileprefix: ../../../
 :imagesdir: ../../..
 ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 
 
-Parent: <<jme3/beginner/hello_input_system#,jMonkeyEngine 3 Tutorial (5) - Hello Input System>>
+Parent: xref:beginner/hello_input_system.adoc[jMonkeyEngine 3 Tutorial (5) - Hello Input System]
 
 Here is a sample of a program where the camera accelerates if the key is kept pressed.
 
@@ -88,7 +88,7 @@ public class Accelerate extends SimpleApplication implements ActionListener {
         if (left || right || up || down) {
             // here we increment the speed using the tpf
             camSpeed += tpf * 2;
-            System.out.print("Camera speed " + camSpeed + ";  Location:" + cam.getLocation().toString() 
+            System.out.print("Camera speed " + camSpeed + ";  Location:" + cam.getLocation().toString()
                     + ";  direction:"+cam.getDirection()+"walkDirection:" + walkDirection.toString());
         }
         Vector3f camDir = cam.getDirection().clone().multLocal(camSpeed);