import { bakeAnimation } from "https://deno.land/x/remapper@2.1.0/src/animation.ts";
Generate keyframes from an animation. Useful for doing things such as having objects rotate around points other than their anchor.
Parameters
animation: { pos?: RawKeyframesVec3; rot?: RawKeyframesVec3; scale?: RawKeyframesVec3; }
Runs for each generated keyframe.
optional
animOptimizer: OptimizeSettings