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