Skip to content

Commit

Permalink
Bump aframe-master dist/ builds. (9230d86...cd1326b)
Browse files Browse the repository at this point in the history
  • Loading branch information
SupermediumBot committed Nov 23, 2024
1 parent cd1326b commit f4a80d2
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
11 changes: 10 additions & 1 deletion dist/aframe-master.js
Original file line number Diff line number Diff line change
Expand Up @@ -6913,6 +6913,9 @@ module.exports.Component = registerComponent('cursor', {
if (this.data.rayOrigin === oldData.rayOrigin) {
return;
}
if (this.data.rayOrigin === 'entity') {
this.resetRaycaster();
}
this.updateMouseEventListeners();
// Update the WebXR event listeners if needed
if (this.data.rayOrigin === 'xrselect') {
Expand Down Expand Up @@ -7040,6 +7043,12 @@ module.exports.Component = registerComponent('cursor', {
el.setAttribute('raycaster', 'useWorldCoordinates', true);
this.updateCanvasBounds();
},
resetRaycaster: function () {
this.el.setAttribute('raycaster', {
direction: new THREE.Vector3().set(0, 0, -1),
origin: new THREE.Vector3()
});
},
addWebXREventListeners: function () {
var self = this;
var xrSession = this.el.sceneEl.xrSession;
Expand Down Expand Up @@ -24581,7 +24590,7 @@ __webpack_require__(/*! ./core/a-mixin */ "./src/core/a-mixin.js");
// Extras.
__webpack_require__(/*! ./extras/components/ */ "./src/extras/components/index.js");
__webpack_require__(/*! ./extras/primitives/ */ "./src/extras/primitives/index.js");
console.log('A-Frame Version: 1.6.0 (Date 2024-11-22, Commit #3eadfd3a)');
console.log('A-Frame Version: 1.6.0 (Date 2024-11-23, Commit #cd1326be)');
console.log('THREE Version (https://github.com/supermedium/three.js):', THREE.REVISION);

// Wait for ready state, unless user asynchronously initializes A-Frame.
Expand Down
2 changes: 1 addition & 1 deletion dist/aframe-master.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/aframe-master.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/aframe-master.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ require('./core/a-mixin');
require('./extras/components/');
require('./extras/primitives/');

console.log('A-Frame Version: 1.6.0 (Date 2024-11-22, Commit #3eadfd3a)');
console.log('A-Frame Version: 1.6.0 (Date 2024-11-23, Commit #cd1326be)');
console.log('THREE Version (https://github.com/supermedium/three.js):',
THREE.REVISION);

Expand Down

0 comments on commit f4a80d2

Please sign in to comment.