ソースを参照

Fix Javadoc warnings in OpenJDK 9+

Lou Hamersly 6 年 前
コミット
b0db8923d1

+ 3 - 3
jme3-jbullet/src/main/java/com/jme3/bullet/PhysicsSpace.java

@@ -788,7 +788,7 @@ public class PhysicsSpace {
 
     /**
      * Performs a sweep collision test and returns the results as a list of PhysicsSweepTestResults<br/>
-     * You have to use different Transforms for start and end (at least distance > 0.4f).
+     * You have to use different Transforms for start and end (at least distance greater than 0.4f).
      * SweepTest will not see a collision if it starts INSIDE an object and is moving AWAY from its center.
      */
     public List<PhysicsSweepTestResult> sweepTest(CollisionShape shape, Transform start, Transform end) {
@@ -804,7 +804,7 @@ public class PhysicsSpace {
 
     /**
      * Performs a sweep collision test and returns the results as a list of PhysicsSweepTestResults<br/>
-     * You have to use different Transforms for start and end (at least distance > 0.4f).
+     * You have to use different Transforms for start and end (at least distance greater than 0.4f).
      * SweepTest will not see a collision if it starts INSIDE an object and is moving AWAY from its center.
      */
     public List<PhysicsSweepTestResult> sweepTest(CollisionShape shape, Transform start, Transform end, List<PhysicsSweepTestResult> results) {
@@ -917,7 +917,7 @@ public class PhysicsSpace {
      * 
      * The default is 10. Use 4 for low quality, 20 for high quality.
      * 
-     * @param numIterations The number of iterations used by the contact & constraint solver.
+     * @param numIterations The number of iterations used by the contact and constraint solver.
      */
     public void setSolverNumIterations(int numIterations) {
         dynamicsWorld.getSolverInfo().numIterations = numIterations;

+ 2 - 2
jme3-jbullet/src/main/java/com/jme3/bullet/objects/PhysicsVehicle.java

@@ -301,7 +301,7 @@ public class PhysicsVehicle extends PhysicsRigidBody {
      * After adding the wheel, use direct wheel access.<br>
      * The damping coefficient for when the suspension is compressed.
      * Set to k * 2.0 * FastMath.sqrt(m_suspensionStiffness) so k is proportional to critical damping.<br>
-     * k = 0.0 undamped & bouncy, k = 1.0 critical damping<br>
+     * k = 0.0 undamped/bouncy, k = 1.0 critical damping<br>
      * 0.1 to 0.3 are good values
      * @param suspensionCompression the suspensionCompression to set
      */
@@ -312,7 +312,7 @@ public class PhysicsVehicle extends PhysicsRigidBody {
     /**
      * The damping coefficient for when the suspension is compressed.
      * Set to k * 2.0 * FastMath.sqrt(m_suspensionStiffness) so k is proportional to critical damping.<br>
-     * k = 0.0 undamped & bouncy, k = 1.0 critical damping<br>
+     * k = 0.0 undamped/bouncy, k = 1.0 critical damping<br>
      * 0.1 to 0.3 are good values
      * @param wheel
      * @param suspensionCompression

+ 1 - 1
jme3-jbullet/src/main/java/com/jme3/bullet/objects/VehicleWheel.java

@@ -178,7 +178,7 @@ public class VehicleWheel implements Savable {
     /**
      * the damping coefficient for when the suspension is compressed.
      * Set to k * 2.0 * FastMath.sqrt(m_suspensionStiffness) so k is proportional to critical damping.<br>
-     * k = 0.0 undamped & bouncy, k = 1.0 critical damping<br>
+     * k = 0.0 undamped/bouncy, k = 1.0 critical damping<br>
      * 0.1 to 0.3 are good values
      * @param wheelsDampingCompression
      */