Skip to content

Commit fc363ae

Browse files
Double half-size when going to size.
1 parent c54abe0 commit fc363ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rerun_py/rerun_sdk/rerun/log/bounding_box.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def log_obb(
7272
splats: Dict[str, Any] = {}
7373

7474
if half_size is not None:
75-
size = np.require(half_size, dtype="float32")
75+
size = np.require(half_size, dtype="float32") * 2.0
7676

7777
if size.shape[0] == 3:
7878
instanced["rerun.box3d"] = Box3DArray.from_numpy(size.reshape(1, 3))

0 commit comments

Comments
 (0)