mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 12:39:24 -05:00
Update culling to be done with double precision.
This commit is contained in:
@@ -61,6 +61,7 @@ namespace openspace {
|
||||
, lodScaleFactor(properties::FloatProperty("lodScaleFactor", "lodScaleFactor", 5.0f, 1.0f, 20.0f))
|
||||
, initChunkVisible(properties::BoolProperty("initChunkVisible", "initChunkVisible", true))
|
||||
, renderSmallChunksFirst(properties::BoolProperty("renderSmallChunksFirst", "renderSmallChunksFirst", true))
|
||||
, chunkHeight(properties::FloatProperty("chunkHeight", "chunkHeight", 8700.0f, 0.0f, 8700.0f))
|
||||
, useHeightMap(properties::BoolProperty("useHeightMap", "useHeightMap", true))
|
||||
, useColorMap(properties::BoolProperty("useColorMap", "useColorMap", true))
|
||||
, blendHeightMap(properties::BoolProperty("blendHeightMap", "blendHeightMap", true))
|
||||
@@ -75,6 +76,7 @@ namespace openspace {
|
||||
addProperty(lodScaleFactor);
|
||||
addProperty(initChunkVisible);
|
||||
addProperty(renderSmallChunksFirst);
|
||||
addProperty(chunkHeight);
|
||||
|
||||
addProperty(useHeightMap);
|
||||
addProperty(useColorMap);
|
||||
@@ -252,6 +254,7 @@ namespace openspace {
|
||||
_chunkedLodGlobe->mergeInvisible = mergeInvisible.value();
|
||||
_chunkedLodGlobe->lodScaleFactor = lodScaleFactor.value();
|
||||
_chunkedLodGlobe->initChunkVisible = initChunkVisible.value();
|
||||
_chunkedLodGlobe->chunkHeight = chunkHeight.value();
|
||||
|
||||
_chunkedLodGlobe->useHeightMap = useHeightMap.value();
|
||||
_chunkedLodGlobe->useColorMap = useColorMap.value();
|
||||
|
||||
Reference in New Issue
Block a user