@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.
22 lines • 709 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
* @ignorenaming
*/
// eslint-disable-next-line @typescript-eslint/naming-convention
export const Epsilon = 0.001;
//# sourceMappingURL=math.constants.js.map