Skip to content

Commit

Permalink
Double half-size when going to size.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-thinkst committed Mar 31, 2023
1 parent c54abe0 commit fc363ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rerun_py/rerun_sdk/rerun/log/bounding_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def log_obb(
splats: Dict[str, Any] = {}

if half_size is not None:
size = np.require(half_size, dtype="float32")
size = np.require(half_size, dtype="float32") * 2.0

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

0 comments on commit fc363ae

Please sign in to comment.