Commit Graph

52 Commits

Author SHA1 Message Date
Marco Hutter 51e43bbd49 Comment fixes for clang formatting 2021-04-29 17:06:34 +02:00
Jordi Torres 6333b1cb0a First pass of clang tidy
Mainly caching else after return, not using empty() instead of size() == 0, missing const references to avoid copies and removing redundant initializations
2021-04-12 13:22:03 +02:00
Shehzan Mohammed 8a2957d32f Run clang format 2021-03-08 20:39:46 -05:00
Shehzan Mohammed b97f03d514 Fix Cmake typos 2021-03-04 16:52:06 -05:00
Shehzan Mohammed 755f16674b Merge branch 'vs2017' into install 2021-03-03 21:14:36 -05:00
Kevin Ring c4da7eefd2 Fix build in VS2017. 2021-03-04 13:08:14 +11:00
Shehzan Mohammed 3faff010d7 Installing thirdparty deps working on linux 2021-03-03 20:47:31 -05:00
Kevin Ring 34bbd2aa31 WIP cmake install. 2021-03-04 09:48:09 +11:00
Samuel Vargas 5d03477551
Rearchitecture cesium-native's CMake structure
This is necessary to support using cesium-native as submodule in
in asset-pipeline

- `draco` and `sqlite3` are guarded with if target blocks to allow
  asset-pipeline to provide their own version of the targets.
- Tests are now a dedicated target that clients don't have to build
- Test sources / headers are now a target property instead of using the $<BUILD_INTERFACE... hack
- Added common include variables in extern/CMakeLists.txt
- Defined `RAPIDJSON_HAS_CXX11_RVALUE_REFS` for move support for RapidJson
- Private include directories are automatically extracted via CMake magic
  for use in catch tests
- Globbing is now wrapped in a dedicated function that allows one to use
  CONFIGURE_DEPENDS depending on their preferences (defaults to OFF)
  to retain the old behavior.
2021-03-02 14:28:04 -05:00
Marco Hutter 67dce23a30 Doxygen fixes 2021-02-15 17:14:49 +01:00
Marco Hutter d7cef7aba3 Use distance to bounding box if cartographic cannot be computed 2021-02-02 18:51:03 +01:00
Kevin Ring b654781b10 Merge remote-tracking branch 'origin/master' into upsample-skirt 2021-01-05 15:01:58 +11:00
unknown c1c1408160 add option to expose private src for other libraries. Add tests for SkirtMeshMetadata 2020-12-23 15:57:08 -05:00
Nithin Pranesh 89b88f14ed Marked classes final
All classes marked final except for RasterOverlay, RasterOverlayTileProvider, ITaskProcessor, IPrepareRendererResources, and IAsset*.
2020-12-07 10:45:47 -05:00
Kevin Ring e2a3f0d2db Add constexpr and noexcept in a bunch of places. 2020-12-03 23:18:32 +11:00
Marco Hutter e1e8782f00 Added last documentation. Minor fixes. 2020-11-11 16:25:35 +01:00
Kevin Ring 0b54538ad8
Merge pull request #34 from CesiumGS/minor-code-fixes
Minor code fixes
2020-11-05 17:13:20 +11:00
Kevin Ring a6ec90270b Use BoundingBox for distance to degenerate BoundingRegion. 2020-11-05 16:46:00 +11:00
Marco Hutter a98cac518e Updates from review 2020-11-04 14:40:08 +01:00
Kevin Ring 7260ddca4d Merge remote-tracking branch 'origin/master' into upsample-bounding-volumes 2020-11-04 15:14:43 +11:00
Kevin Ring 20af9ee5cc Compute tighter bounding volumes for upsampled tiles. 2020-11-04 13:11:01 +11:00
Marco Hutter 808b0cfd6a Minor code fixes.
Details summarized in PR.
2020-11-03 23:13:00 +01:00
Marco Hutter ecab20fe03 Documentation fixes from review comments 2020-11-03 18:31:27 +01:00
Marco Hutter 40dc4bd883
Apply basic suggestions from code review
This contains the changes that could be applied directly (typos and 
minor wording changes). Further suggestions will be addressed 
with a separate commit.

Co-authored-by: Kevin Ring <kevin@kotachrome.com>
2020-11-03 15:17:25 +01:00
Marco Hutter 13167efaed Merge remote-tracking branch 'origin/master' into basic-doxygen-fixes-part-2
# Conflicts:
#	Cesium3DTiles/include/Cesium3DTiles/ViewUpdateResult.h
2020-11-02 20:16:48 +01:00
Marco Hutter 8ee683a39e Documentation fixes, pedantic mode. 2020-11-01 16:46:54 +01:00
Kevin Ring 327255fd1b Use the bounding box distance if farther than the region distance. 2020-11-01 17:27:14 +11:00
Marco Hutter b88026112f Documentation for basic classes. Minor fixes.
Documentation for some of the basic classes in CesiumGeospatial
(partially taken from CesiumJS).

Basic documentation for Tile IDs.

Minor fixes for links and formatting.
2020-10-31 17:38:12 +01:00
Kevin Ring 08f2467064 Improve distance calc to bounding regions, add selection stats. 2020-10-31 00:05:10 +11:00
Kevin Ring 2f2cdd1074 Use glm funcs, avoid public cutouts field. 2020-10-29 10:25:51 +11:00
Marco Hutter b72787029d Documentation for namespaces
Without them, typedefs of these namespaces did not
appear in the documentation
2020-10-26 23:50:21 +01:00
Marco Hutter 2d32708ee8 Documentation for WGS84 and Bing overlay 2020-10-26 19:49:36 +01:00
Marco Hutter 2b4cdc95ac First, basic doxygen fixes
Mainly fixing broken links from invalid "see" references,
missing classes, and basic elements that had been undocumented
2020-10-26 19:07:18 +01:00
Kevin Ring 8782333ef1 Improvements to CMake build. 2020-10-01 22:46:16 +10:00
Kevin Ring d71531c167 Create placeholders for raster tile providers that aren't ready yet. 2020-09-25 21:51:44 +10:00
Kevin Ring bdd1e1d5de Cleaner content loading. 2020-09-23 22:04:41 +10:00
Kevin Ring 7b4118a443 Much improved CWT+Bing rendering. 2020-09-10 23:37:40 +10:00
Kevin Ring 6f4a6b51f0 Generate texture coordinates. 2020-09-09 17:17:48 +10:00
Kevin Ring 6c4972be34 Move overlay logic out of Tile. 2020-09-08 16:09:52 +10:00
Kevin Ring 077959f4c6 Minor cleanup. 2020-09-07 15:27:54 +10:00
Kevin Ring 6aff3f94ad Working raster overlays. 2020-09-04 17:01:05 +10:00
Kevin Ring d027751f19 Progress toward raster mapping. 2020-09-02 18:03:25 +10:00
Kevin Ring ffc560e7cc WIP raster overlay system. 2020-08-28 17:25:23 +10:00
Kevin Ring ad1698f87b Update min/max heights when terrain tiles are loaded. 2020-08-24 21:06:31 +10:00
Kevin Ring f50aaae886 Add BoundingRegionWithLooseFittingHeights, better use of std::variant 2020-08-24 17:38:04 +10:00
Kevin Ring 2070215b6c Create a glTF from a quantized-mesh-1.0 terrain tile. 2020-08-20 21:46:55 +10:00
Kevin Ring c216d57289 BoundingRegion docs. 2020-08-18 12:13:18 +10:00
Kevin Ring b7bb648f24 Add CesiumGeoreference actor. 2020-08-11 16:33:16 +10:00
Kevin Ring e2d8872707 Basic support for additive refinement. 2020-07-29 15:04:34 +10:00
Kevin Ring 08b4348c60 Move tests into library directories. 2020-07-25 22:56:53 +10:00