You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
436 B
JavaScript
26 lines
436 B
JavaScript
/**
|
|
* This enumerated type is used to determine how the vertices of the terrain mesh are compressed.
|
|
*
|
|
* @enum {Number}
|
|
*
|
|
* @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,
|
|
};
|
|
export default Object.freeze(TerrainQuantization);
|