MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / create

Method create

Cesium3DTilesSelection/src/ViewState.cpp:31–47  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

29namespace Cesium3DTilesSelection {
30
31/* static */ ViewState ViewState::create(
32 const glm::dvec3& position,
33 const glm::dvec3& direction,
34 const glm::dvec3& up,
35 const glm::dvec2& viewportSize,
36 double horizontalFieldOfView,
37 double verticalFieldOfView,
38 const CesiumGeospatial::Ellipsoid& ellipsoid) {
39 return ViewState(
40 position,
41 direction,
42 up,
43 viewportSize,
44 horizontalFieldOfView,
45 verticalFieldOfView,
46 ellipsoid);
47}
48
49namespace {
50glm::dvec3 positionFromView(const glm::dmat4& viewMatrix) {

Callers 2

animateFunction · 0.45
createEventsStorageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected