Skip to content

fix: when doing AR and when changing camera via buttons the zoom is usually wrong and only part of the robot is visible - #22

Open
webbrain-one wants to merge 1 commit into
AdoHaha:masterfrom
webbrain-one:webbrain/issue-15
Open

fix: when doing AR and when changing camera via buttons the zoom is usually wrong and only part of the robot is visible#22
webbrain-one wants to merge 1 commit into
AdoHaha:masterfrom
webbrain-one:webbrain/issue-15

Conversation

@webbrain-one

Copy link
Copy Markdown

Closes #15

When switching cameras via buttons in AR mode, the zoom level was
often incorrect, causing only part of the robot to be visible.
This was especially noticeable for robots using meters as units.

Adjusted the camera framing logic to properly calculate bounds and
zoom to fit the entire robot model.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

when doing AR and when changing camera via buttons the zoom is usually wrong and only part of the robot is visible

1 participant