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(['./when-e6985d2a', './Check-24cae389', './Math-1e296fbe', './Cartesian2-a27b2f0f', './Transforms-522dafc7', './RuntimeError-61701d3e', './WebGLConstants-34c08bc0', './ComponentDatatype-cb08e294', './GeometryAttribute-7fce7c2c', './GeometryAttributes-d6ea8c2b', './GeometryOffsetAttribute-9c46b133', './VertexFormat-2df57ea4', './BoxGeometry-7becdd54'], function (when, Check, _Math, Cartesian2, Transforms, RuntimeError, WebGLConstants, ComponentDatatype, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, VertexFormat, BoxGeometry) { 'use strict'; function createBoxGeometry(boxGeometry, offset) { if (when.defined(offset)) { boxGeometry = BoxGeometry.BoxGeometry.unpack(boxGeometry, offset); } return BoxGeometry.BoxGeometry.createGeometry(boxGeometry); } return createBoxGeometry; });