From f63c5e7ec6deef88dfa8d48e7148b1719289d4e9 Mon Sep 17 00:00:00 2001 From: Glenn Waldron Date: Fri, 11 Oct 2024 16:11:36 -0400 Subject: [PATCH] SurfaceNode: fix a typo bug causing bad subdivision --- src/osgEarthDrivers/engine_rex/SurfaceNode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgEarthDrivers/engine_rex/SurfaceNode b/src/osgEarthDrivers/engine_rex/SurfaceNode index de92bcb2d7..be05de28c6 100644 --- a/src/osgEarthDrivers/engine_rex/SurfaceNode +++ b/src/osgEarthDrivers/engine_rex/SurfaceNode @@ -95,7 +95,7 @@ namespace osgEarth { namespace REX const Ellipsoid& _ellipsoid; osg::Vec3d _horizonCullingPoint; bool _horizonCullingPointSet = false; - osg::Vec3f _childrenCorners[8][4]; + osg::Vec3 _childrenCorners[4][8]; static const bool _enableDebugNodes; void addDebugNode(const osg::BoundingBox& box);