UNPKG

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) 413 B
import defined from '../Core/defined.js'; import PlaneOutlineGeometry from '../Core/PlaneOutlineGeometry.js'; function createPlaneOutlineGeometry(planeGeometry, offset) { if (defined(offset)) { planeGeometry = PlaneOutlineGeometry.unpack(planeGeometry, offset); } return PlaneOutlineGeometry.createGeometry(planeGeometry); } export default createPlaneOutlineGeometry;