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
d636270d37
Rename GLTF_VERSION to GLB_CONTAINER_VERSION
2021-03-05 07:41:18 -05:00
Samuel Vargas
7bfb800ab9
Rework the Writer / BufferWriter API
...
- Removed unused EmbedImages / EmbedBuffers / ExternalBuffers parameters
- Split the writing function into two separate functions.
2021-03-05 07:41:17 -05:00
Samuel Vargas
7c19d7d828
Add unittests for JsonValue
2021-03-05 07:41:17 -05:00
Samuel Vargas
f1076ea0ee
Rename getNumberOrDefault to getSafeNumberOrDefault
2021-03-05 07:41:17 -05:00
Samuel Vargas
5ee7b03529
Add a custom target for generating code coverage
2021-03-05 07:41:16 -05:00
Samuel Vargas
f643405726
Add CesiumGltfWriter
2021-03-05 07:41:16 -05:00
Samuel Vargas
c4f6025420
Add integer support to JsonValue
...
This also fixes a narrowing conversion bug. Previously if
a type that was larger than 2^53 was stored in a JsonValue
it would be silently casted into a double, causing an unexpected
precision loss. This changes JsonValue to use the largest signed,
unsigned, or floating point value available to support both types
of Numbers.
Also updates GSL version because they added a narrowing cast
function and we use that for safe type casting.
2021-03-05 07:41:15 -05:00
Samuel Vargas
33bdceca64
Add base64_encode and magic_enum
...
These libraries are needed for CesiumGltfWriter, the writer can automatically
convert binary data to base64 on behalf of the user. Magic enum is used
to automatically convert `CesiumGltf` enums to their string constants
without having to write a dedicated enum to string method.
2021-03-05 07:41:15 -05:00
Kevin Ring
589a0098fc
Merge pull request #145 from CesiumGS/install
...
Add ability to CMake install cesium-native
2021-03-05 16:03:29 +11:00
Kevin Ring
00dde7cd9c
Merge pull request #148 from CesiumGS/use-std-byte
...
Use bytes for raw data
2021-03-05 14:57:30 +11:00
Kevin Ring
3e45ddf3f2
Merge pull request #144 from CesiumGS/initialize-gltf-handler-members
...
Initialize member of handlers
2021-03-05 14:53:52 +11:00
Kevin Ring
5d991f9ebc
Merge pull request #143 from CesiumGS/add-license
...
Add license.
2021-03-05 14:52:31 +11:00
Shehzan Mohammed
24be81bc43
Merge pull request #151 from CesiumGS/install-with-exclude
2021-03-04 22:47:25 -05:00
Kevin Ring
68d711e1de
Mark some libs private, remove commented-out code.
2021-03-05 14:21:55 +11:00
Kevin Ring
d7c30f907d
Add a comment.
2021-03-05 14:16:51 +11:00
Kevin Ring
9346d3aee4
RapidJSON includes.
2021-03-05 14:14:52 +11:00
Kevin Ring
da0b567120
Fix some install bits.
2021-03-05 14:04:28 +11:00
Kevin Ring
4743a46546
Merge remote-tracking branch 'origin/install' into install-with-exclude
2021-03-05 14:03:40 +11:00
Kevin Ring
06074f8ff1
Merge remote-tracking branch 'origin/install' into install-with-exclude
2021-03-05 13:08:18 +11:00
Shehzan Mohammed
02272d99c8
Fix install steps
2021-03-04 18:10:59 -05:00
Kevin Ring
44139b6a21
Absolute path for modp_b64, attempt to include GSL headers.
2021-03-05 09:58:36 +11:00
Shehzan Mohammed
b97f03d514
Fix Cmake typos
2021-03-04 16:52:06 -05:00
Kevin Ring
77a5a37720
Merge remote-tracking branch 'origin/install' into install-with-exclude
2021-03-05 08:17:30 +11:00
Kevin Ring
c5e398275b
Exclude extern directory.
...
But still (mostly?) install the right stuff.
2021-03-05 08:09:53 +11:00
Marco Hutter
10efc9e894
Fixed the expected CLang error
2021-03-04 17:36:27 +01:00
Shehzan Mohammed
00c55a059a
Merge remote-tracking branch 'origin/master' into install
2021-03-04 11:30:50 -05:00
Marco Hutter
f1078aeb4c
Use bytes for raw data
2021-03-04 17:22:38 +01:00
Shehzan Mohammed
887744202d
Remove other PRIVATE flags from link libraries
2021-03-04 10:50:19 -05:00
Shehzan Mohammed
6e3224bd81
Add CMake Current Source Dir prefix in externs
2021-03-04 10:35:28 -05:00
Kevin Ring
6ca38b8166
Merge remote-tracking branch 'origin/master' into install
2021-03-04 22:20:07 +11:00
Kevin Ring
63270e9d22
Install doxygen.
2021-03-04 18:23:13 +11:00
Kevin Ring
825b19f043
Specify architecture only for VS2017 build.
2021-03-04 18:23:13 +11:00
Kevin Ring
3c1394d6ed
Another attempt at VS2017 on Travis.
...
Don't try to upgrade VS2017 (it keeps failing), but do specify a 64-bit
build.
2021-03-04 18:23:13 +11:00
Kevin Ring
6a5b6af540
Try a choco upgrade instead.
2021-03-04 18:23:13 +11:00
Kevin Ring
64ca4dbdfc
Install later version of VS2017.
2021-03-04 18:23:12 +11:00
Kevin Ring
f577d106ce
Add VS2017 travis build.
2021-03-04 18:23:12 +11:00
Kevin Ring
ddfc584baa
Don't qualify class name unnecessarily.
2021-03-04 18:23:12 +11:00
Kevin Ring
61da245b8b
Merge pull request #146 from CesiumGS/vs2017
...
Fix build in Visual Studio 2017.
2021-03-04 18:16:44 +11:00
Kevin Ring
7336ab8cd2
Install doxygen.
2021-03-04 17:39:20 +11:00
Kevin Ring
9261340b21
Specify architecture only for VS2017 build.
2021-03-04 17:18:48 +11:00
Kevin Ring
40cca0bed4
Another attempt at VS2017 on Travis.
...
Don't try to upgrade VS2017 (it keeps failing), but do specify a 64-bit
build.
2021-03-04 17:07:58 +11:00
Kevin Ring
e9eb78af35
Try a choco upgrade instead.
2021-03-04 16:33:24 +11:00
Kevin Ring
16950ba517
Install later version of VS2017.
2021-03-04 16:23:42 +11:00
Kevin Ring
b13dbb1224
Add VS2017 travis build.
2021-03-04 16:08:32 +11:00
Kevin Ring
55cda5212e
Don't qualify class name unnecessarily.
2021-03-04 13:51:32 +11:00
Shehzan Mohammed
cc549822d9
Update uriparser commit
2021-03-03 21:42:22 -05:00
Shehzan Mohammed
7a1d9df818
Remove private flag from tests
2021-03-03 21:32:20 -05:00
Shehzan Mohammed
755f16674b
Merge branch 'vs2017' into install
2021-03-03 21:14:36 -05:00