TerrainQuantization.js 617 B

123456789101112131415161718192021222324252627
  1. import freezeObject from './freezeObject.js';
  2. /**
  3. * This enumerated type is used to determine how the vertices of the terrain mesh are compressed.
  4. *
  5. * @exports TerrainQuantization
  6. *
  7. * @private
  8. */
  9. var TerrainQuantization = {
  10. /**
  11. * The vertices are not compressed.
  12. *
  13. * @type {Number}
  14. * @constant
  15. */
  16. NONE : 0,
  17. /**
  18. * The vertices are compressed to 12 bits.
  19. *
  20. * @type {Number}
  21. * @constant
  22. */
  23. BITS12 : 1
  24. };
  25. export default freezeObject(TerrainQuantization);