Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kfarr committed Nov 25, 2023
1 parent 61f58e2 commit bdc1f17
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/app/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,25 +71,25 @@ AFRAME.registerState({
'img': payload.img
}
}
/*
/* example usage of `addModel` handler
var payload = {
"name": "tree_E",
"src": "src/models/kaykit/tree_E.gltf",
"bboxMin": [
-0.35965,
0,
-0.51994
],
"bboxMax": [
0.52432,
1.06844,
0.39919
],
"dist": "dist/models/tree_E.glb",
"img": "dist/img/tree_E.jpg"
},
"name": "tree_E",
"src": "src/models/kaykit/tree_E.gltf",
"bboxMin": [
-0.35965,
0,
-0.51994
],
"bboxMax": [
0.52432,
1.06844,
0.39919
],
"dist": "dist/models/tree_E.glb",
"img": "dist/img/tree_E.jpg"
},
AFRAME.scenes[0].emit('addModel', payload);
*/
*/

},
computeState: function (newState, payload) {
Expand Down

0 comments on commit bdc1f17

Please sign in to comment.