m './_lib/BoneViewMesh.js';
import SkinMTXMaterial              from './_lib/SkinMTXMaterial.js';
//#endregion

//#region MAIN
let App;
let Ref = {};

function onRender( dt=0, et=0 ){
    Ref.animator
        .update( dt )
        .applyPose( Ref.pose );

    Ref.pose.updateWorld( true );
    Ref.boneView.updateFromPose( Ref.pose );
}

window.addEventListener( "load", async _=>{
    App = new Starter( { webgl2:true, grid:true } );
    App.setCamera( 0, 20, 4, [0,0.8,0] );
    App.onRender = onRender;

    /