@@ -328,6 +328,8 @@ var files = {
"webxr_vr_ballshooter",
"webxr_vr_cubes",
"webxr_vr_dragging",
+ "webxr_vr_handinput",
+ "webxr_vr_handinput_simple",
"webxr_vr_lorenzattractor",
"webxr_vr_panorama",
"webxr_vr_panorama_depth",
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <title>three.js vr - dragging</title>
+ <title>three.js vr - hand and controller</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link type="text/css" rel="stylesheet" href="main.css">
+ <title>three.js vr - hand and controller - simple</title>
@@ -230,8 +230,6 @@ function WebXRManager( renderer, gl ) {
const inputSources = session.inputSources;
- console.log("Update sources", inputSources);
-
// Assign inputSources to available controllers
for ( let i = 0; i < controllers.length; i ++ ) {
@@ -6,4 +6,5 @@ var performance;
var createImageBitmap;
var WebGL2RenderingContext;
var WebGL2ComputeRenderingContext;
+var XRHands;
var XRWebGLLayer;