@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
23 lines • 863 B
JavaScript
/**
* Constant used to convert a value to gamma space
*/
// eslint-disable-next-line @typescript-eslint/naming-convention
export const ToGammaSpace = 1 / 2.2;
/**
* Constant used to convert a value to linear space
*/
// eslint-disable-next-line @typescript-eslint/naming-convention
export const ToLinearSpace = 2.2;
/**
* Constant Golden Ratio value in Babylon.js
*/
// eslint-disable-next-line @typescript-eslint/naming-convention
export const PHI = (1 + Math.sqrt(5)) / 2;
/**
* Constant used to define the minimal number value in Babylon.js
* Exported as "let" so advanced users can override the epsilon value in supported build targets (for example via the global BABYLON.Epsilon)
* @ignorenaming
*/
// eslint-disable-next-line @typescript-eslint/naming-convention, prefer-const
export let Epsilon = 0.001;
//# sourceMappingURL=math.constants.js.map