Skip to content

Commit de8729c

Browse files
committed
Don't use deprecated ViewState::create.
1 parent 893699b commit de8729c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

native~/Runtime/src/CameraManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ ViewState unityCameraToViewState(
8282
? georeference.ellipsoid().NativeImplementation().GetEllipsoid()
8383
: CesiumGeospatial::Ellipsoid::WGS84;
8484

85-
return ViewState::create(
85+
return ViewState(
8686
cameraPosition,
8787
glm::normalize(cameraDirection),
8888
glm::normalize(cameraUp),

native~/extern/cesium-native

0 commit comments

Comments
 (0)