Commit Graph

7 Commits

Author SHA1 Message Date
Pär Winzell 9dce3ca8dc Bow out of C++17 for now; switch to Boost. 2019-04-14 11:06:20 -07:00
Par Winzell d6043151df Mostly rewrite texture lookup code. 2019-04-07 21:58:48 -07:00
Par Winzell 02e5eb684d Further filesystem fixes. 2019-04-07 18:34:03 -07:00
Par Winzell 95063ba9f1 Move to C++17 and std::filesystem.
With this, we are able to get rid of all the increasingly broken file
system utility code, and trust std::filesystem to handle all the cross-
platform complexity.

Unfortunately std::filesystem support remains a little elusive; it is
well supported in Visual Studio (especially 2019), but not by default
in Mac OS X, and even in GCC 8.0 it requires an explicit '-l c++fs'.

This also silences some of the more egregious compiler warnings, mostly
by being explicit about where we cast to the uint32 types glTF prefers.
2019-04-07 16:21:24 -07:00
Pär Winzell 5730d1c301
Apply clang-format to all our source. (#149)
Apply clang-format to all our source.
2018-12-18 23:30:29 -08:00
Pär Winzell 62bb8710c0 Fix cross-platform path handling.
This is a recreation of the PR @robertlong submitted long ago here:
https://github.com/facebookincubator/FBX2glTF/pull/97

Refactors and whitespace conflicts made this easier.

There is still a substantial rewrite of the texture-loading and
file-path handling pending, for sometime soon.
2018-12-07 09:40:21 -08:00
Par Winzell f988cb7aa7 Missing bits, oops.
Did not mean to commit/push the current state of master. But rather than
mess up source control history with a force push, I'll just try to hurry
to a stable point.
2018-09-13 17:21:57 -07:00