Package com.jogamp.graph.ui
Interface AnimGroup.LerpFunc
-
- All Known Implementing Classes:
AnimGroup.ScrollLerp,AnimGroup.SineLerp,AnimGroup.TargetLerp
- Enclosing class:
- AnimGroup
public static interface AnimGroup.LerpFuncLinear interpolation (LERP) function to evaluate the next animated frame for eachAnimGroup.ShapeDataof aAnimGroup.Set.- See Also:
AnimGroup.TargetLerp
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleaneval(long frame_cnt, AnimGroup.Set as, int idx, AnimGroup.ShapeData sd, float at_s, float dt_s)Evaluate next LERP step for the givenAnimGroup.ShapeDatawithin the animationAnimGroup.Set.
-
-
-
Method Detail
-
eval
boolean eval(long frame_cnt, AnimGroup.Set as, int idx, AnimGroup.ShapeData sd, float at_s, float dt_s)Evaluate next LERP step for the givenAnimGroup.ShapeDatawithin the animationAnimGroup.Set.- Parameters:
frame_cnt- frame count for the givenAnimGroup.ShapeDataas-AnimGroup.Setof the animationidx-AnimGroup.ShapeDataindex within theAnimGroup.Set.allShapessd- theAnimGroup.ShapeDatamatchingidxcontaining theShapeto apply this operationat_s- time delta to animation start, i.e. animation duration [s]dt_s- time delta to last call [s]- Returns:
- true if target animation shall continue, false otherwise
-
-