Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleaning the code
Browse files Browse the repository at this point in the history
kalwalt committed Dec 6, 2020
1 parent 2d64599 commit 2d9201e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/renderers/BabylonjsRenderer.js
Original file line number Diff line number Diff line change
@@ -30,12 +30,9 @@ export default class BabylonjsRenderer {
this.root = markerRoot

this.root.visibility = 1.0
this.root.markerMatrix = new Float64Array(12)

document.addEventListener('getMatrixGL_RH', (ev) => {
this.root.visibility = 1.0
const matrix = Utils.interpolate(ev.detail.matrixGL_RH)
//this.root.markerMatrix = matrix
this.root.updatePoseMatrix(BABYLON.Matrix.FromArray(matrix))
console.log(this.root);
})

0 comments on commit 2d9201e

Please sign in to comment.