Add existing to tracked

This commit is contained in:
Jay
2026-08-11 09:53:42 -04:00
parent afe07f3055
commit ffd6e3d73c
8531 changed files with 4396230 additions and 0 deletions
@@ -0,0 +1,16 @@
import ApproximateTerrainHeights from "../Core/ApproximateTerrainHeights.js";
import defined from "../Core/defined.js";
import GroundPolylineGeometry from "../Core/GroundPolylineGeometry.js";
function createGroundPolylineGeometry(groundPolylineGeometry, offset) {
return ApproximateTerrainHeights.initialize().then(function () {
if (defined(offset)) {
groundPolylineGeometry = GroundPolylineGeometry.unpack(
groundPolylineGeometry,
offset,
);
}
return GroundPolylineGeometry.createGeometry(groundPolylineGeometry);
});
}
export default createGroundPolylineGeometry;