Skip to content

Commit

Permalink
fixed build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
codex128 committed Jun 23, 2024
1 parent eb67e8e commit 09d4eba
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 1,149 deletions.
26 changes: 14 additions & 12 deletions jme3-core/src/main/java/com/jme3/anim/tween/action/Action.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@

/**
* Wraps an array of Tween actions into an action object.
*
* <p>
* Notes :
* <li> The sequence of tweens is determined by {@link com.jme3.anim.tween.Tweens} utility class and the {@link BaseAction} interpolates that sequence. </li>
* <li> This implementation mimics the {@link com.jme3.anim.tween.AbstractTween}, but it delegates the interpolation method {@link Tween#interpolate(double)}
* <ul>
* <li> The sequence of tweens is determined by {@link com.jme3.anim.tween.Tweens} utility class and the {@link BaseAction} interpolates that sequence. </li>
* <li> This implementation mimics the {@link com.jme3.anim.tween.AbstractTween}, but it delegates the interpolation method {@link Tween#interpolate(double)}
* to the {@link BlendableAction} class. </li>
* </p>
* </ul>
*
* Created by Nehon.
*
Expand All @@ -66,10 +66,11 @@ public abstract class Action implements JmeCloneable, Tween {
* Instantiates an action object that wraps a tween actions array by extracting their actions to the collection {@link Action#actions}.
* <p>
* Notes :
* <li> If intentions are to wrap some tween actions, then subclasses have to call this constructor, examples : {@link BlendableAction} and {@link BlendAction}. </li>
* <li> If intentions are to make an implementation of {@link Action} that shouldn't wrap tweens of actions, then subclasses shouldn't call this
* <ul>
* <li> If intentions are to wrap some tween actions, then subclasses have to call this constructor, examples : {@link BlendableAction} and {@link BlendAction}. </li>
* <li> If intentions are to make an implementation of {@link Action} that shouldn't wrap tweens of actions, then subclasses shouldn't call this
* constructor, examples : {@link ClipAction} and {@link BaseAction}. </li>
* </p>
* </ul>
*
* @param tweens the tween actions to be wrapped (not null).
*/
Expand Down Expand Up @@ -119,11 +120,12 @@ public double getSpeed() {
* Alters the speedup factor applied by the layer running this action.
* <p>
* Notes:
* <li> This factor controls the animation direction, if the speed is a positive value then the animation will run forward and vice versa. </li>
* <li> The speed factor gets applied, inside the {@link com.jme3.anim.AnimLayer}, on each interpolation step by this formula : time += tpf * action.getSpeed() * composer.globalSpeed. </li>
* <li> Default speed is 1.0, it plays the animation clips at their normal speed. </li>
* <li> Setting the speed factor to Zero will stop the animation, while setting it to a negative number will play the animation in a backward fashion. </li>
* </p>
* <ul>
* <li> This factor controls the animation direction, if the speed is a positive value then the animation will run forward and vice versa. </li>
* <li> The speed factor gets applied, inside the {@link com.jme3.anim.AnimLayer}, on each interpolation step by this formula : time += tpf * action.getSpeed() * composer.globalSpeed. </li>
* <li> Default speed is 1.0, it plays the animation clips at their normal speed. </li>
* <li> Setting the speed factor to Zero will stop the animation, while setting it to a negative number will play the animation in a backward fashion. </li>
* </ul>
*
* @param speed the speed of frames.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
* //run the action within this layer
* animComposer.setCurrentAction("basicAction", ActionState.class.getSimpleName());
* </pre>
* </p>
* Created by Nehon.
*/
public class BaseAction extends Action {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
* ec1.setPosition(new Vector3f(0,0,0));
* // ec2.setPosition(new Vector3f(0,0,10));
* 3. Tag the spatials that are part of the environment
* scene.deepFirstTraversal(s->{
* scene.deepFirstTraversal(s -&gt; {
* if(s.getUserData("isEnvNode")!=null){
* EnvironmentProbeControl.tagGlobal(s);
* // or ec1.tag(s);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
import java.util.List;

/**
* Rendering logic for handling SkyLight and ReflectionProbe.<br/>
* Rendering logic for handling SkyLight and ReflectionProbe.
* <p>
* todo:The functionality of this tool class is not yet complete, because LightProbe has not yet been split into SkyLight and ReflectionProbe. So the code here is just to be compatible with the extraction of LightProbe and lay the groundwork for subsequent work.
* @author JohnKkk
*/
Expand Down
Loading

0 comments on commit 09d4eba

Please sign in to comment.