Skip to content

Commit 3b20168

Browse files
committed
WebXRManager: Added getStandingMatrix().
1 parent a9047c5 commit 3b20168

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/renderers/webvr/WebXRManager.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,17 @@ function WebXRManager( gl ) {
130130

131131
};
132132

133-
this.submitFrame = function () {
133+
// DEPRECATED
134134

135-
// if ( device && device.isPresenting ) device.submitFrame();
135+
this.getStandingMatrix = function () {
136+
137+
console.warn( 'THREE.WebXRManager: getStandingMatrix() is no longer needed.' );
138+
return new THREE.Matrix4();
136139

137140
};
138141

142+
this.submitFrame = function () {};
143+
139144
}
140145

141146
export { WebXRManager };

0 commit comments

Comments
 (0)