From ce957d343385c6211f289ac9f32743b6f6641913 Mon Sep 17 00:00:00 2001 From: "roo..li" Date: Sat, 19 May 2012 16:17:09 +0000 Subject: [PATCH] Added more info about arguments in javadoc git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9395 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../com/jme3/bullet/PhysicsTickListener.java | 8 ++++---- .../bullet/collision/shapes/CapsuleCollisionShape.java | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/engine/src/bullet-common/com/jme3/bullet/PhysicsTickListener.java b/engine/src/bullet-common/com/jme3/bullet/PhysicsTickListener.java index 0f3bbca8c..f34753ba8 100644 --- a/engine/src/bullet-common/com/jme3/bullet/PhysicsTickListener.java +++ b/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); diff --git a/engine/src/jbullet/com/jme3/bullet/collision/shapes/CapsuleCollisionShape.java b/engine/src/jbullet/com/jme3/bullet/collision/shapes/CapsuleCollisionShape.java index 61024ebbe..1742d4fca 100644 --- a/engine/src/jbullet/com/jme3/bullet/collision/shapes/CapsuleCollisionShape.java +++ b/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