Przeglądaj źródła

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.
iefreer 9 lat temu
rodzic
commit
2dc18e6fa1
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      docs/api/math/Box3.html

+ 2 - 2
docs/api/math/Box3.html

@@ -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>