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

STLLoader: Improved parsing for scientific notation #13628

Merged
merged 1 commit into from
Mar 21, 2018
Merged

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Mar 18, 2018

Solves #13612

This regex is a somewhat more tolerant than the previous one. It allows values like -2e-08 or even -.2e-08 in an STL file. Both are valid numbers in JavaScript.

@Mugen87 Mugen87 changed the title STLLoader: Refactor float regex pattern STLLoader: Improved parsing support scientific notation Mar 20, 2018
@Mugen87 Mugen87 changed the title STLLoader: Improved parsing support scientific notation STLLoader: Improved parsing support for scientific notation Mar 20, 2018
@Mugen87 Mugen87 changed the title STLLoader: Improved parsing support for scientific notation STLLoader: Improved parsing for scientific notation Mar 20, 2018
@mrdoob mrdoob added this to the r92 milestone Mar 21, 2018
@mrdoob mrdoob merged commit 5ce99cc into mrdoob:dev Mar 21, 2018
@mrdoob
Copy link
Owner

mrdoob commented Mar 21, 2018

Thanks!

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