math.constants.ts 370 B

12345678910111213141516
  1. /**
  2. * Constant used to convert a value to gamma space
  3. * @ignorenaming
  4. */
  5. export const ToGammaSpace = 1 / 2.2;
  6. /**
  7. * Constant used to convert a value to linear space
  8. * @ignorenaming
  9. */
  10. export const ToLinearSpace = 2.2;
  11. /**
  12. * Constant used to define the minimal number value in Babylon.js
  13. * @ignorenaming
  14. */
  15. let Epsilon = 0.001;
  16. export { Epsilon };