Skip to content

Commit 1d7521c

Browse files
committed
Small change
1 parent d843dbb commit 1d7521c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/mrc.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,8 @@ class MixedRealityCapture {
133133

134134
this.#camera = new THREE.PerspectiveCamera( calibration.camera.fov, calibration.camera.width / calibration.camera.height, this.#near, this.#far );
135135

136-
// TODO: Replace these with the position and orientation parameters from the calibration
137-
this.#camera.position.set( 1.7507181, 1.590937, 1.658595 );
138-
this.#camera.lookAt( 0, 1.6513390, 0 );
136+
this.#camera.position.fromArray( calibration.camera.position );
137+
this.#camera.quaternion.fromArray( calibration.camera.orientation );
139138

140139
// Creating render targets for the foreground and background layers
141140

0 commit comments

Comments
 (0)