Kevin Ring
e4c0150a4d
Back to ezvcpkg for now.
2025-10-22 21:50:49 +11:00
Sean Lilley
b2545e7a56
Added SubtreeWriter::writeSubtreeBinary
2025-05-02 18:09:27 -04:00
Ashley Rogers
4e318925a5
Switch tests to doctest
2025-01-15 16:58:03 -05:00
Ashley Rogers
768b6510b3
Quotes to brackets
2024-12-20 12:00:09 -05:00
Ashley Rogers
2c8aa4a422
Fix includes using script
2024-12-20 11:56:49 -05:00
Ashley Rogers
1e2e47ab5e
misc-include-cleaner for every file
2024-12-17 17:27:03 -05:00
Ashley Rogers
cca8871eef
Include both catch2 headers
2024-11-22 11:30:45 -05:00
Ashley Rogers
f82d65bead
Change Catch2 header
2024-11-22 11:17:21 -05:00
Kevin Ring
89dfc44bdc
Remove use of GSL.
...
Change gsl::span to std::span, and replace the few uses of gsl::narrow
with an alternative.
2024-11-06 15:16:03 +11:00
Sean Lilley
b8f9fd71ac
Fix clang error
2024-05-30 11:31:36 -04:00
Sean Lilley
efaadbdd94
Add warning about ignored extensions
2024-05-30 11:18:24 -04:00
Kevin Ring
997517cee8
Don't create invalid GLB when the buffer is too large.
2024-04-18 08:48:32 +10:00
Sean Lilley
a85266300c
Fix tests
2022-09-04 13:36:21 -04:00
Sean Lilley
d5862b07cf
Use gsl::span to match GltfReader API
2022-01-10 18:53:38 -05:00
Sean Lilley
684d8d8085
Use cctype
2021-12-27 16:01:51 -05:00
Sean Lilley
4616f70a56
Cleanup
2021-12-27 14:07:49 -05:00
Sean Lilley
d2b0cd0ad5
Added tests
2021-12-17 10:45:07 -05:00
Sean Lilley
e9523aec60
New CesiumGltfWriter
2021-12-17 10:33:40 -05:00
Sean Lilley
21c65ddac8
Change folder structure for src folders
2021-12-03 11:11:41 -05:00
Sean Lilley
2cdcb92e20
Namespace cleanup
2021-12-02 18:34:22 -05:00
Sean Lilley
52283f3359
Fix includes
2021-10-11 17:28:44 -04:00
Marco Hutter
0e827f7afd
Updated includes based on clang-format with Regroup
...
This MAINLY inserted some blank lines between
the blocks.
2021-09-26 17:46:27 +02:00
Daniel Krupka
f47aaaa5dc
Extract JSON writing to non-glTF library
2021-07-23 13:59:50 -04:00
Kevin Ring
4e45bab460
Use angle brackets to #include catch2.
2021-07-04 22:57:11 +10:00
Samuel Vargas
34dd3b4082
Remove redundant `hasRootObject` from writeJsonValue
...
This parmaeter is ultimately unnecessary. The caller should be responsible
for ensuring that the CesiumGltf::JsonWriter state is balanced before calling
writeJsonValue. This should simplify our internal API.
2021-05-03 15:35:38 -04:00
Samuel Vargas
91c7b7f663
Rewrite encodeAsBase64String to avoid extra copy
...
Also add additional unittests for the class.
2021-04-21 15:18:42 -04:00
Samuel Vargas
10dfa6823c
Replace thrown exceptions with `WriteModelResult`
...
The API should now mimic the reading api, where errors encountered
during the serialization process don't cause crashes. The caller receives
two vectors of strings detailing all errors and warnings that were
generated, and the json serialization functions stop gracefully.
2021-04-20 13:58:20 -04:00
Samuel Vargas
dbd8f67402
WriteOptions -> WriteModelOptions
...
Renamed it for better consistency with ReadModelOptions
2021-04-19 17:09:38 -04:00
Samuel Vargas
cb595c1b55
Replace base64_encode.hpp with modp_b64
2021-04-19 16:57:03 -04:00
Samuel Vargas
3412704062
Replace bitmask options with dedicated struct
2021-04-19 14:28:43 -04:00
Kevin Ring
6c0a55c090
Fix formatting.
2021-04-16 16:23:08 +10:00
Kevin Ring
999c382cc1
Merge remote-tracking branch 'origin/main' into gltf-extensions
2021-04-16 16:07:23 +10:00
Samuel Vargas
94c77dd89e
Merge tag 'post-clang-format' into gltf-writer-clang-format
...
The commit that ran clang-format on the entire codebase and made no other changes.
2021-03-09 16:36:39 -05:00
Samuel Vargas
a65dac301b
Implement basic triangle serialization test
2021-03-05 14:29:48 -05:00
Samuel Vargas
7de726a364
Add trailing newlines [skip ci]
2021-03-05 11:38:53 -05:00
Samuel Vargas
6babc551a0
Replace std::uint8_t with std::byte for data containers
2021-03-05 10:16:12 -05:00
Samuel Vargas
53801b27e7
Only serialize JsonValue::Objects as extensions
2021-03-05 07:41:23 -05:00
Samuel Vargas
98480a4c02
Increase BufferWriter coverage to 100%
2021-03-05 07:41:20 -05:00
Samuel Vargas
adc0317b60
Add toString() / toStringView() methods for CesiumGltf::JsonWriter
2021-03-05 07:41:20 -05:00
Samuel Vargas
6601266f7d
Add mutual exclusion test
2021-03-05 07:41:19 -05:00
Samuel Vargas
7337177771
Add test for root array / single primitive value
2021-03-05 07:41:19 -05:00
Samuel Vargas
080a4bdd85
Remove FindMinMax / PrimitiveVectorToLittleEndian
2021-03-05 07:41:19 -05:00
Samuel Vargas
865388c0dc
Add additional smoketests for glTF / GLB generation
2021-03-05 07:41:18 -05:00
Samuel Vargas
f643405726
Add CesiumGltfWriter
2021-03-05 07:41:16 -05:00