From 0345dd96010f270d51f32f894ce856dbbd52a46f Mon Sep 17 00:00:00 2001 From: "sky..ok" Date: Tue, 10 Apr 2012 17:53:28 +0000 Subject: [PATCH] Better Javadoc for PhysicsVehicle#getForwardVector(Vector3f) git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9285 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/jbullet/com/jme3/bullet/objects/PhysicsVehicle.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/src/jbullet/com/jme3/bullet/objects/PhysicsVehicle.java b/engine/src/jbullet/com/jme3/bullet/objects/PhysicsVehicle.java index eacf53441..b04db9741 100644 --- a/engine/src/jbullet/com/jme3/bullet/objects/PhysicsVehicle.java +++ b/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 - * @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) { if (vector == null) {