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