提交 6d16a26c 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #11998 from trevortknguyen/dev

Clarify variables in physics/terrain example to be more self documenting 
......@@ -128,7 +128,7 @@
controls = new THREE.OrbitControls( camera );
var geometry = new THREE.PlaneBufferGeometry( 100, 100, terrainWidth - 1, terrainDepth - 1 );
var geometry = new THREE.PlaneBufferGeometry( terrainWidthExtents, terrainDepthExtents, terrainWidth - 1, terrainDepth - 1 );
geometry.rotateX( -Math.PI / 2 );
var vertices = geometry.attributes.position.array;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册