UNPKG

@cesium/engine

Version:

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

11 lines (9 loc) 379 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;