cesium
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
11 lines (9 loc) • 423 B
JavaScript
import defined from '../Core/defined.js';
import SphereOutlineGeometry from '../Core/SphereOutlineGeometry.js';
function createSphereOutlineGeometry(sphereGeometry, offset) {
if (defined(offset)) {
sphereGeometry = SphereOutlineGeometry.unpack(sphereGeometry, offset);
}
return SphereOutlineGeometry.createGeometry(sphereGeometry);
}
export default createSphereOutlineGeometry;