Better Javadoc for PhysicsVehicle#getForwardVector(Vector3f)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9285 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
sky..ok 13 years ago
parent 9aacd96926
commit 0345dd9601
  1. 5
      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) {

Loading…
Cancel
Save