Forráskód Böngészése

class-entry-javadoc: restricts blend weight values to [0, 1]

pavl_g 2 éve
szülő
commit
433bf5da15

+ 3 - 3
jme3-core/src/main/java/com/jme3/anim/tween/action/BlendSpace.java

@@ -47,9 +47,9 @@ package com.jme3.anim.tween.action;
  * Different blending weight case scenarios managed by {@link BlendAction} internally:
  * <li> In case of (0 < Blending weight < 1), the blending is executed each update among 2 actions, the first action will use 
  * a blend value of 1 and the second action will use the blend space weight as a value for the interpolation. </li>
- * <li> In case of (Blending weight <= 0), the blending hasn't started yet, only the first action will be interpolated at (weight = 1). </li>
- * <li> In case of (Blending weight = 1), the blending is finished and only the second action will continue to run. </li>
- * <li> In case of (Blending weight > 1), the blending is finished and only the second action will continue to run, but with extrapolation. </li>
+ * <li> In case of (Blending weight = 0), the blending hasn't started yet, only the first action will be interpolated at (weight = 1). </li>
+ * <li> In case of (Blending weight = 1), the blending is finished and only the second action will continue to run at (weight = 1). </li>
+ * <li> Negative values and values greater than 1 aren't allowed and will result in an IllegalArgumentException. </li>
  * <li> Find more at {@link BlendAction#doInterpolate(double)} and {@link BlendAction#collectTransform(HasLocalTransform, Transform, float, BlendableAction)}. </li>
  * </p>
  *