Skip to content

Commit

Permalink
Upd.
Browse files Browse the repository at this point in the history
  • Loading branch information
haehn committed Dec 13, 2023
1 parent f250efb commit d5f30a6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions examples/trako.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// load example fiber (very small and fast)
// we need it as a NVMesh template
nvmesh = await niivue.addMeshFromUrl({'url':'https://niivue.github.io/niivue/images/colby.trk'})

TKOFILE = 'https://bostongfx.github.io/TRAKO/DATA/example.tko';

Expand All @@ -15,7 +12,12 @@ eval(script);
//
// THIS ONLY WORKS WITH NIIVUE RIGHT NOW
//
function run() {
async function run() {

// load example fiber (very small and fast)
// we need it as a NVMesh template
nvmesh = await niivue.addMeshFromUrl({'url':'https://niivue.github.io/niivue/images/colby.trk'})


// detect visualization framework
Boostlet.init();
Expand Down

0 comments on commit d5f30a6

Please sign in to comment.