Skip to content

Commit 45e5a13

Browse files
committed
PlaneBufferGeometry has been renamed to PlaneGeometry.
1 parent e2f2893 commit 45e5a13

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aframe/src/location-based/arjs-webcam-texture.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ AFRAME.registerComponent("arjs-webcam-texture", {
1313
this.video.setAttribute("playsinline", true);
1414
this.video.setAttribute("display", "none");
1515
document.body.appendChild(this.video);
16-
this.geom = new THREE.PlaneBufferGeometry(); //0.5, 0.5);
16+
this.geom = new THREE.PlaneGeometry(); //0.5, 0.5);
1717
this.texture = new THREE.VideoTexture(this.video);
1818
this.material = new THREE.MeshBasicMaterial({ map: this.texture });
1919
const mesh = new THREE.Mesh(this.geom, this.material);

three.js/src/location-based/js/webcam-renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class WebcamRenderer {
1515
} else {
1616
video = document.querySelector(videoElement);
1717
}
18-
this.geom = new THREE.PlaneBufferGeometry();
18+
this.geom = new THREE.PlaneGeometry();
1919
this.texture = new THREE.VideoTexture(video);
2020
this.material = new THREE.MeshBasicMaterial({ map: this.texture });
2121
const mesh = new THREE.Mesh(this.geom, this.material);

0 commit comments

Comments
 (0)