Added more info about arguments in javadoc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9395 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
roo..li 13 years ago
parent 9c3efe2e7a
commit ce957d3433
  1. 8
      engine/src/bullet-common/com/jme3/bullet/PhysicsTickListener.java
  2. 5
      engine/src/jbullet/com/jme3/bullet/collision/shapes/CapsuleCollisionShape.java

@ -39,15 +39,15 @@ public interface PhysicsTickListener {
/** /**
* Called before the physics is actually stepped, use to apply forces etc. * Called before the physics is actually stepped, use to apply forces etc.
* @param space * @param space the physics space
* @param f * @param tpf the time per frame in seconds
*/ */
public void prePhysicsTick(PhysicsSpace space, float f); public void prePhysicsTick(PhysicsSpace space, float f);
/** /**
* Called after the physics has been stepped, use to check for forces etc. * Called after the physics has been stepped, use to check for forces etc.
* @param space * @param space the physics space
* @param f * @param tpf the time per frame in seconds
*/ */
public void physicsTick(PhysicsSpace space, float f); public void physicsTick(PhysicsSpace space, float f);

@ -53,7 +53,8 @@ public class CapsuleCollisionShape extends CollisionShape{
} }
/** /**
* creates a new CapsuleCollisionShape with the given radius and height * Creates a new CapsuleCollisionShape with the given radius and height.
* The capsule is oriented along the Y axis (1).
* @param radius the radius of the capsule * @param radius the radius of the capsule
* @param height the height of the capsule * @param height the height of the capsule
*/ */
@ -66,7 +67,7 @@ public class CapsuleCollisionShape extends CollisionShape{
} }
/** /**
* creates a capsule shape around the given axis (0=X,1=Y,2=Z) * Creates a capsule shape around the given axis (0=X,1=Y,2=Z).
* @param radius * @param radius
* @param height * @param height
* @param axis * @param axis

Loading…
Cancel
Save