org.xith3d.loaders.models.util.animations
Class AnimationTools

java.lang.Object
  extended by org.xith3d.loaders.models.util.animations.AnimationTools

public class AnimationTools
extends java.lang.Object

Utility methods for model animatios.


Constructor Summary
AnimationTools()
           
 
Method Summary
static MeshTransformKeyFrameController createRotationalKeyFrameController(org.openmali.vecmath2.Vector3f axis, boolean backwards, int numFrames, TransformGroup target)
           
static MeshTransformKeyFrameController createRotationalKeyFrameController(org.openmali.vecmath2.Vector3f axis, float startAngle, float stopAngle, boolean backwards, int numFrames, TransformGroup target)
           
static void precomputeAnimations(Model model, float fps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnimationTools

public AnimationTools()
Method Detail

precomputeAnimations

public static void precomputeAnimations(Model model,
                                        float fps)

createRotationalKeyFrameController

public static MeshTransformKeyFrameController createRotationalKeyFrameController(org.openmali.vecmath2.Vector3f axis,
                                                                                 float startAngle,
                                                                                 float stopAngle,
                                                                                 boolean backwards,
                                                                                 int numFrames,
                                                                                 TransformGroup target)

createRotationalKeyFrameController

public static MeshTransformKeyFrameController createRotationalKeyFrameController(org.openmali.vecmath2.Vector3f axis,
                                                                                 boolean backwards,
                                                                                 int numFrames,
                                                                                 TransformGroup target)