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

Fix view extent #1433

Merged
merged 5 commits into from
Feb 8, 2014
Merged

Fix view extent #1433

merged 5 commits into from
Feb 8, 2014

Conversation

bagnell
Copy link
Contributor

@bagnell bagnell commented Feb 4, 2014

Revert changes to CameraController.viewExtent. Move check for zero vector sooner and adjust if needed.

The extents in the camera Sandcastle example and those given in #1431 and #1413 should all work. Also the tests should all still pass in Chrome Canary.

@mramato
Copy link
Contributor

mramato commented Feb 5, 2014

Since this area has broken a bunch recently, is it possible to add some unit tests that better stress this section of code?

@bagnell
Copy link
Contributor Author

bagnell commented Feb 8, 2014

@mramato This is ready.

mramato added a commit that referenced this pull request Feb 8, 2014
@mramato mramato merged commit c279600 into master Feb 8, 2014
@mramato mramato deleted the viewExtent branch February 8, 2014 16:25
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