ServerConfiguration/Calla/Calla-Lib/js/Calla.CJS.js
/**
     * Performs a lerp between two positions and a slerp between to orientations
     * and stores the result in this pose.
     * @param {Pose} a
     * @param {Pose} b
     * @param {number} p
     */
Performs a lerp between two positions and a slerp between to orientations
and stores the result in this pose.
Performs a lerp between two positions and a slerp between to orientations and stores the result in this pose .
interpolate(start, end, t) {
        if (t <= start.t) {
            this.copy(start);
        }
        else if (end.t <= t) {
            this.copy(end);
        }
        else if (start.t < t) {
            const p = project(t, start.t, end.t);
            this.p.lerp(start.p, end.p, p);
            this.f.slerp(start.f, end.f, p);
            this.u.slerp(start.u, end.u, p);
            this.t = t;
        }
    }
interpolate ( start , end , t ) { if ( t <= start . t ) { this . copy ( start ) ; } else if ( end . t <= t ) { this . copy ( end ) ; } else if ( start . t < t ) { const p = project ( t , start . t , end . t ) ; this . p . lerp ( start . p , end . p , p ) ; this . f . slerp ( start . f , end . f , p ) ; this . u . slerp ( start . u , end . u , p ) ; this . t = t ; } }
Performs a lerp between two positions and a slerp between to orientations
 and stores the result in this pose.
Performs a lerp between two positions and a slerp between to orientations and stores the result in this pose .