Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set YawPitchDist to initial values #41

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Conversation

sercero
Copy link
Contributor

@sercero sercero commented Apr 29, 2024

It is true that we are calling setYawPitchDist() twice, but it is necessary to set an initial value of the camera distance and also it is only the first time.

The diam is computed from the bounding box of the object so that it is at a proper distance.

@paroj paroj merged commit f945777 into OGRECave:master Apr 30, 2024
1 check passed
@sercero sercero deleted the fix_refactor branch April 30, 2024 20:46
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