提交 31e9994c 编写于 作者: M Mr.doob

ViveController: Updated to WebVR 1.1. See #9723

上级 2d20c7fe
......@@ -61,7 +61,9 @@ THREE.ViveController = function ( id ) {
gamepad = findGamepad( id );
if ( gamepad !== undefined && gamepad.pose !== null ) {
if ( gamepad !== undefined && gamepad.pose !== undefined ) {
if ( gamepad.pose === null ) return; // No user action yet
// Position and orientation.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册