@cesium/engine
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
11 lines (9 loc) • 337 B
JavaScript
import defined from "../Core/defined.js";
import PlaneGeometry from "../Core/PlaneGeometry.js";
function createPlaneGeometry(planeGeometry, offset) {
if (defined(offset)) {
planeGeometry = PlaneGeometry.unpack(planeGeometry, offset);
}
return PlaneGeometry.createGeometry(planeGeometry);
}
export default createPlaneGeometry;