-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support char16_t, u16string, char32_t, and u32string
- Loading branch information
Showing
18 changed files
with
493 additions
and
364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Change Log | ||
|
||
## 0.1.4 (2018/11/5) | ||
|
||
* Support Android and iOS platforms | ||
|
||
## 0.0.1 (2017/12/5) | ||
|
||
### Changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,28 @@ | ||
# Usage | ||
|
||
Generate the `makefile` or `vs project` by [CMake]. | ||
Generate the `makefile` or `ninja` or `vs project` by [CMake]. | ||
|
||
For now, just build to a static library - `libgltf.(lib/a/dylib)`. | ||
|
||
## Advance | ||
|
||
### Generate new code by the official glTF schema | ||
|
||
> You can update the c++11 source code by `jsonschematoc11`. | ||
Generate the c++11 code: | ||
|
||
1. Run `tools/batch/update_parser_by_scheme.bat` or `tools/batch/update_parser_by_scheme.sh` | ||
1. Run `tools/batch/update_parser_by_scheme.bat` (Windows) or `tools/batch/update_parser_by_scheme.sh` (Unix/Linux/MacOS) | ||
2. Build your version by [CMake], [Ninja] or [VisualStudio]. | ||
|
||
### String encode | ||
|
||
* default using utf8, char and std::string | ||
* set LIBGLTF_WITH_UNICODE as TRUE in cmake command, if you want using unicode | ||
* default using wchar_t and std::wstring | ||
* set LIBGLTF_USING_CHAR16 as TRUE in cmake command, if you wnat using utf16, char16_t and std::u16string | ||
* set LIBGLTF_USING_CHAR32 as TRUE in cmake command, if you want using utf32, char32_t and std::u32string | ||
|
||
[CMake]: https://cmake.org | ||
[Ninja]: https://ninja-build.org | ||
[VisualStudio]: https://visualstudio.microsoft.com |
Oops, something went wrong.