提交 08dcf311 编写于 作者: A aardgoose 提交者: Mr.doob

documentation: remove gyroscope object no longer in library (#8655)

上级 74a71f39
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<base href="../../../" />
<script src="list.js"></script>
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
[page:Object3D] &rarr;
<h1>[name]</h1>
<div class="desc">An Object3d that rotates independently of its parent objects, but keeps the position and scale.</div>
<code>
var root = new THREE.Group();
var gyro = new THREE.Gyroscope();
var cube = new THREE.Mesh( geometry, material );
root.add( gyro )
gyro.add( cube )
cube.position.x = 10;
root.rotation.y = Math.PI;
// The cube will have changed its position but maintained its orientation
</code>
<h2>Constructor</h2>
<h3>[name]()</h3>
<h2>Source</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</body>
</html>
......@@ -173,7 +173,6 @@ var list = {
"Extras / Core": [
[ "Curve", "api/extras/core/Curve" ],
[ "CurvePath", "api/extras/core/CurvePath" ],
[ "Gyroscope", "api/extras/core/Gyroscope" ],
[ "Path", "api/extras/core/Path" ],
[ "Shape", "api/extras/core/Shape" ]
],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册