dist/claygl.es.js
function vec3lerp(out, a, b, t, oa, ob) {
    var ax = a[oa];
    var ay = a[oa + 1];
    var az = a[oa + 2];
    out[0] = ax + t * (b[ob] - ax);
    out[1] = ay + t * (b[ob + 1] - ay);
    out[2] = az + t * (b[ob + 2] - az);

    return out;
}
function vec3lerp(out, a, b, t, oa, ob) {
    var ax = a[oa];
    var ay = a[oa + 1];
    var az = a[oa + 2];
    out[0] = ax + t * (b[ob] - ax);
    out[1] = ay + t * (b[ob + 1] - ay);
    out[2] = az + t * (b[ob + 2] - az);

    return out;
}
function vec3lerp ( out , a , b , t , oa , ob ) { var ax = a [ oa ] ; var ay = a [ oa + 1 ] ; var az = a [ oa + 2 ] ; out [ 0 ] = ax + t * ( b [ ob ] - ax ) ; out [ 1 ] = ay + t * ( b [ ob + 1 ] - ay ) ; out [ 2 ] = az + t * ( b [ ob + 2 ] - az ) ; return out ; }
Sampler clip is especially for the animation sampler in glTF Use Typed Array can reduce a lot of heap memory lerp function with offset in large array
Sampler clip is especially for the animation sampler in glTF Use Typed Array can reduce a lot of heap memory lerp function with offset in large array