Skip to content
Snippets Groups Projects
Julius Nehring-Wirxel's avatar
Julius Nehring-Wirxel authored
On windows ifstreams handle data differently depending if the file was opened in binary mode or not. This messed with
the parsing for some files.

Fixed reading a binary file into any other scalar type other than float. Binary STL always contain 32 bit floats, but
the parser depended on ScalarT for how much data should be read, which can lead to false results if e.g. a double
position type is given.
1e6aa0f1
History
Name Last commit Last update