Skip to content

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