-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Throw if Plane normal is not normalized #5304
Conversation
Where was the error? Should we also check that it is normalized in the |
My problem wasn't a bug in Cesium, someone made a mistake using |
And I don't think we need to put the check in the |
Only when a result parameter isn't supplied. |
Good point, I'll update that |
Ok, I agree this is a good change. |
@bagnell ready |
Please document the |
@pjcozzi done |
I spent a little while this afternoon trying to track down a problem that was caused because someone created a plane where the normal wasn't normalized. The doc says it should be, so I added a
DeveloperError
check to make sure the normal vector has a magnitude of 1.0.