DSDSWeb/static/js/Cesium-1.53/Source/Core/TerrainQuantization.js

34 lines
665 B
JavaScript
Raw Normal View History

2024-07-11 18:02:47 +08:00
define([
'./freezeObject'
], function(
freezeObject) {
'use strict';
/**
* This enumerated type is used to determine how the vertices of the terrain mesh are compressed.
*
* @exports TerrainQuantization
*
* @private
*/
var TerrainQuantization = {
/**
* The vertices are not compressed.
*
* @type {Number}
* @constant
*/
NONE : 0,
/**
* The vertices are compressed to 12 bits.
*
* @type {Number}
* @constant
*/
BITS12 : 1
};
return freezeObject(TerrainQuantization);
});