|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
Linear interpolation (LERP) function to evaluate the next animated frame for each ShapeData of a Set.
More...
Public Member Functions | |
| boolean | eval (long frame_cnt, Set as, final int idx, ShapeData sd, float at_s, float dt_s) |
Evaluate next LERP step for the given ShapeData within the animation Set. More... | |
Linear interpolation (LERP) function to evaluate the next animated frame for each ShapeData of a Set.
Definition at line 290 of file AnimGroup.java.
| boolean com.jogamp.graph.ui.AnimGroup.LerpFunc.eval | ( | long | frame_cnt, |
| Set | as, | ||
| final int | idx, | ||
| ShapeData | sd, | ||
| float | at_s, | ||
| float | dt_s | ||
| ) |
Evaluate next LERP step for the given ShapeData within the animation Set.
| frame_cnt | frame count for the given ShapeData |
| as | Set of the animation |
| idx | ShapeData index within the Set#allShapes |
| sd | the ShapeData matching idx containing the Shape to apply this operation |
| at_s | time delta to animation start, i.e. animation duration [s] |
| dt_s | time delta to last call [s] |
Implemented in com.jogamp.graph.ui.AnimGroup.TargetLerp, com.jogamp.graph.ui.AnimGroup.ScrollLerp, and com.jogamp.graph.ui.AnimGroup.SineLerp.