UNPKG

cesium

Version:

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

14 lines (10 loc) 907 B
/* This file is automatically rebuilt by the Cesium build process. */ define(['./BoxGeometry-e8c231cb', './when-f31b6bd1', './GeometryOffsetAttribute-f6456e72', './Check-ed9ffed2', './Transforms-813bc92c', './Cartesian2-29c15ffd', './Math-03750a0b', './RuntimeError-c7c236f3', './ComponentDatatype-6fe28ef7', './WebGLConstants-0664004c', './GeometryAttribute-f3100ea3', './GeometryAttributes-e973821e', './VertexFormat-44d61ac9'], function (BoxGeometry, when, GeometryOffsetAttribute, Check, Transforms, Cartesian2, _Math, RuntimeError, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, VertexFormat) { 'use strict'; function createBoxGeometry(boxGeometry, offset) { if (when.defined(offset)) { boxGeometry = BoxGeometry.BoxGeometry.unpack(boxGeometry, offset); } return BoxGeometry.BoxGeometry.createGeometry(boxGeometry); } return createBoxGeometry; });