Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/camera_viz/placements/lock_modes.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def update(self, head_pos: Vec3, head_orientation: Quat) -> Placement:
head_pos[1] + forward[1] * d + right[1] * ox + up[1] * oy,
head_pos[2] + forward[2] * d + right[2] * ox + up[2] * oy,
)
orientation = quat_mul(head_orientation, _ROT_Y_180)
orientation = head_orientation
# Anchor = the head itself (plus the configured offsets, already
# baked into ``position``): pull the plane back by ``distance``.
# Orientation is the UNflipped head pose so the anchor's local −z
Expand Down