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

OrbitControls: Changed less than to less or equal than in theta min max check. #20628

Merged

Conversation

luna-magicad
Copy link
Contributor

@luna-magicad luna-magicad commented Nov 5, 2020

Fixes #20627

Description

Added check for min <= max instead of just min to correctly clamp theta if min == max.

@mrdoob mrdoob added this to the r123 milestone Nov 5, 2020
@mrdoob mrdoob merged commit ff60cb5 into mrdoob:dev Nov 5, 2020
@mrdoob
Copy link
Owner

mrdoob commented Nov 5, 2020

Thanks!

@mrdoob mrdoob changed the title Changed less than to less or equal than for orbit control's theta min… OrbitControls: Changed less than to less or equal than in theta min max check. Nov 5, 2020
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.

Orbit Controls: Issue clamping theta/azimuth when min == max
3 participants