mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Fix horizon culling bug
This commit is contained in:
@@ -101,7 +101,7 @@ namespace openspace {
|
||||
const Ellipsoid& ellipsoid = chunk.owner()->ellipsoid();
|
||||
const GeodeticPatch& patch = chunk.surfacePatch();
|
||||
float maxHeight = chunk.getBoundingHeights().max;
|
||||
Vec3 globePosition = data.position.dvec3();
|
||||
Vec3 globePosition = glm::dvec3(0,0,0); // In model space it is 0
|
||||
Scalar minimumGlobeRadius = ellipsoid.minimumRadius();
|
||||
|
||||
Vec3 cameraPosition =
|
||||
|
||||
Reference in New Issue
Block a user