UNPKG

cesium

Version:

Cesium is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.

17 lines (15 loc) 446 B
/*global define*/ define([ '../Core/defined', '../Core/SphereOutlineGeometry' ], function( defined, SphereOutlineGeometry) { 'use strict'; return function(sphereGeometry, offset) { if (defined(offset)) { sphereGeometry = SphereOutlineGeometry.unpack(sphereGeometry, offset); } return SphereOutlineGeometry.createGeometry(sphereGeometry); }; });