You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/shape/bounding-box.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ const tmpVecE = new Vec3();
12
12
* @description Create a new axis-aligned bounding box.
13
13
* @classdesc Axis-Aligned Bounding Box.
14
14
* @param {Vec3} [center] - Center of box. The constructor takes a reference of this parameter.
15
-
* @param {Vec3} [halfExtents] - Half the distance across the box in each axis. The constructor takes a reference of this parameter.
15
+
* @param {Vec3} [halfExtents] - Half the distance across the box in each axis. The constructor takes a reference of this parameter. Defaults to 0.5 on each axis.
16
16
* @property {Vec3} center Center of box.
17
17
* @property {Vec3} halfExtents Half the distance across the box in each axis.
0 commit comments