UNPKG

cesium

Version:

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

16 lines (14 loc) 419 B
define([ '../Core/defined', '../Core/PlaneOutlineGeometry' ], function( defined, PlaneOutlineGeometry) { 'use strict'; return function(planeGeometry, offset) { if (defined(offset)) { planeGeometry = PlaneOutlineGeometry.unpack(planeGeometry, offset); } return PlaneOutlineGeometry.createGeometry(planeGeometry); }; });