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

Examples: Improved webgl_materials_car.

上级 89b30b39
......@@ -88,6 +88,8 @@
camera.position.set( 4.25, 1.4, - 4.5 );
controls = new OrbitControls( camera, container );
controls.enableDamping = true;
controls.maxDistance = 9;
controls.target.set( 0, 0.5, 0 );
controls.update();
......@@ -197,6 +199,8 @@
function render() {
controls.update();
const time = - performance.now() / 1000;
for ( let i = 0; i < wheels.length; i ++ ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册