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

Examples: Hand input examples clean up.

上级 1168ec4b
......@@ -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",
......
<!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">
......
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js vr - dragging</title>
<title>three.js vr - hand and controller - simple</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">
......
......@@ -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;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册