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 crash when loading mesh without normal data #4

Open
simondemeule opened this issue Sep 27, 2020 · 0 comments
Open

Fix crash when loading mesh without normal data #4

simondemeule opened this issue Sep 27, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@simondemeule
Copy link
Owner

At the moment, MeshPrimitive assumes all meshes have normal data, and will crash if no data is given. This edge case should be taken care of by computing normals using the plane defined by each triangle's vertices.

@simondemeule simondemeule added the bug Something isn't working label Sep 27, 2020
@simondemeule simondemeule changed the title Fix Crash When Loading Mesh Without Normal Data Fix crash when loading mesh without normal data Sep 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant