@cesium/engine
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
26 lines (24 loc) • 438 B
JavaScript
/**
* This enumerated type is used to determine how the vertices of the terrain mesh are compressed.
*
* @enum {number}
*
* @private
*/
const TerrainQuantization = {
/**
* The vertices are not compressed.
*
* @type {number}
* @constant
*/
NONE: 0,
/**
* The vertices are compressed to 12 bits.
*
* @type {number}
* @constant
*/
BITS12: 1,
};
export default Object.freeze(TerrainQuantization);