@tolokoban/tgd
Version:
ToloGameDev library for WebGL2
16 lines • 413 B
TypeScript
import { TgdCodeFunctions } from "../shader";
declare const CONSTS_FLOAT: {
E: number;
PI: number;
TAU: number;
PI_INVERSE: number;
TAU_INVERSE: number;
DEG_PER_RAD: number;
RAD_PER_DEG: number;
};
/**
* Define common constants.
*/
export declare function tgdCodeConstants(...names: Array<keyof typeof CONSTS_FLOAT>): TgdCodeFunctions;
export {};
//# sourceMappingURL=consts.d.ts.map