BoundingSphereState.js 552 B

1234567891011121314151617181920212223242526
  1. /**
  2. * The state of a BoundingSphere computation being performed by a {@link Visualizer}.
  3. * @enum {number}
  4. * @private
  5. */
  6. const BoundingSphereState = {
  7. /**
  8. * The BoundingSphere has been computed.
  9. * @type BoundingSphereState
  10. * @constant
  11. */
  12. DONE: 0,
  13. /**
  14. * The BoundingSphere is still being computed.
  15. * @type BoundingSphereState
  16. * @constant
  17. */
  18. PENDING: 1,
  19. /**
  20. * The BoundingSphere does not exist.
  21. * @type BoundingSphereState
  22. * @constant
  23. */
  24. FAILED: 2,
  25. };
  26. export default Object.freeze(BoundingSphereState);