Bladeren bron

Added more info about arguments in javadoc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9395 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
roo..li 13 jaren geleden
bovenliggende
commit
ce957d3433

+ 4 - 4
engine/src/bullet-common/com/jme3/bullet/PhysicsTickListener.java

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

+ 3 - 2
engine/src/jbullet/com/jme3/bullet/collision/shapes/CapsuleCollisionShape.java

@@ -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 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 height
      * @param axis