Skip to content

Commit

Permalink
Fix norm for square points
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Jan 9, 2024
1 parent 2de1289 commit 471d947
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/source/examples/07_record3d_visualizer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ Parse and stream record3d captures. To get the demo data, see ``./assets/downloa
points=position,
colors=color,
point_size=0.01,
point_shape="rounded",
)
# Place the frustum.
Expand Down
2 changes: 1 addition & 1 deletion src/viser/_message_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ def add_point_cloud(
colors=colors_cast,
point_size=point_size,
point_ball_norm={
"square": 0.0,
"square": float("inf"),
"diamond": 1.0,
"circle": 2.0,
"rounded": 3.0,
Expand Down

0 comments on commit 471d947

Please sign in to comment.