提交 85117979 编写于 作者: F Fernando Serrano

Include handedness on the hands events

上级 99809a90
......@@ -174,6 +174,7 @@ Object.assign( WebXRController.prototype, {
hand.inputState.pinching = false;
this.dispatchEvent( {
type: "pinchend",
handedness: inputSource.handedness,
target: this
} );
......@@ -182,6 +183,7 @@ Object.assign( WebXRController.prototype, {
hand.inputState.pinching = true;
this.dispatchEvent( {
type: "pinchstart",
handedness: inputSource.handedness,
target: this
} );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册