Skip to content

Conversation

@Dender46
Copy link
Contributor

@Dender46 Dender46 commented Nov 2, 2023

If the camera is rotated, for example, by the Z axis, the size of the image is incorrectly adjusted because we are taking the global rotation of an image in GetBoundingBoxSize(...). This effect is very noticeable when using a camera image from ARCoreCamera and applying it to RawImage in Canvas.

Preview of the issue:

Preview of the issue

Copy link
Owner

@homuler homuler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@homuler homuler merged commit 2d2863e into homuler:master Nov 3, 2023
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.

2 participants