提交 2dc18e6f 编写于 作者: I iefreer 提交者: Mr.doob

For box3, the setFromCenterAndSize method description should contain z component (#9185)

x,y changed to x,y,z, and width,height changed to width,height and depth.
上级 8dcd65eb
......@@ -249,10 +249,10 @@
<h3>[method:Box3 setFromCenterAndSize]( [page:Vector3 center], [page:Vector3 size] ) [page:Box3 this]</h3>
<div>
center -- Desired center position of the box. <br />
size -- Desired x and y dimensions of the box.
size -- Desired x, y and z dimensions of the box.
</div>
<div>
Centers this box on *center* and sets this box's width and height to the values specified
Centers this box on *center* and sets this box's width, height and depth to the values specified
in *size*.
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册