Explorar o código

Better Javadoc for PhysicsVehicle#getForwardVector(Vector3f)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9285 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
sky..ok %!s(int64=13) %!d(string=hai) anos
pai
achega
0345dd9601

+ 3 - 2
engine/src/jbullet/com/jme3/bullet/objects/PhysicsVehicle.java

@@ -460,8 +460,9 @@ public class PhysicsVehicle extends PhysicsRigidBody {
 
 
     /**
     /**
      * Get the current forward vector of the vehicle in world coordinates
      * Get the current forward vector of the vehicle in world coordinates
-     * @param vector
-     * @return
+     * @param vector The object to write the forward vector values to.
+     * Passing null will cause a new {@link Vector3f) to be created.
+     * @return The forward vector
      */
      */
     public Vector3f getForwardVector(Vector3f vector) {
     public Vector3f getForwardVector(Vector3f vector) {
         if (vector == null) {
         if (vector == null) {