Browse Source

Fixed vive paint trigger.

Mr.doob 9 năm trước cách đây
mục cha
commit
5f74c54682
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/webvr_vive_paint.html

+ 1 - 1
examples/webvr_vive_paint.html

@@ -392,7 +392,7 @@
 
 					}
 
-					if ( controller.getButtonState( 'trigger ') ) {
+					if ( controller.getButtonState( 'trigger' ) ) {
 
 						if ( line.parent === null ) scene.add( line );