math.constants.js 708 B

12345678910111213141516171819202122232425
  1. /**
  2. * Constant used to convert a value to gamma space
  3. * @ignorenaming
  4. */
  5. // eslint-disable-next-line @typescript-eslint/naming-convention
  6. export const ToGammaSpace = 1 / 2.2;
  7. /**
  8. * Constant used to convert a value to linear space
  9. * @ignorenaming
  10. */
  11. // eslint-disable-next-line @typescript-eslint/naming-convention
  12. export const ToLinearSpace = 2.2;
  13. /**
  14. * Constant Golden Ratio value in Babylon.js
  15. * @ignorenaming
  16. */
  17. export const PHI = (1 + Math.sqrt(5)) / 2;
  18. /**
  19. * Constant used to define the minimal number value in Babylon.js
  20. * @ignorenaming
  21. */
  22. // eslint-disable-next-line @typescript-eslint/naming-convention
  23. const Epsilon = 0.001;
  24. export { Epsilon };
  25. //# sourceMappingURL=math.constants.js.map