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) 403 B
define([ '../Core/BoxOutlineGeometry', '../Core/defined' ], function( BoxOutlineGeometry, defined) { 'use strict'; return function(boxGeometry, offset) { if (defined(offset)) { boxGeometry = BoxOutlineGeometry.unpack(boxGeometry, offset); } return BoxOutlineGeometry.createGeometry(boxGeometry); }; });