/*! * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. */ import { mat3, mat4, quat, vec2, vec3, vec4 } from "gl-matrix"; export declare class Constants { static readonly TWO_PI = 6.283185307179586; static readonly PI = 3.141592653589793; static readonly PI_OVER_TWO = 1.5707963267948966; static readonly PI_OVER_THREE = 1.0471975511965976; static readonly PI_OVER_FOUR = 0.7853981633974483; static readonly PI_OVER_SIX = 0.5235987755982988; static readonly LOG_2 = 0.6931471805599453; static readonly RADIANS_PER_DEGREE = 0.017453292519943295; static readonly DEGREES_PER_RADIAN = 57.29577951308232; static readonly ROOT_TWO = 1.4142135623730951; static readonly ROOT_TWO_OVER_TWO = 0.7071067811865476; static readonly ROOT_THREE = 1.7320508075688772; static readonly ROOT_THREE_OVER_TWO = 0.8660254037844386; static readonly ROOT_THREE_OVER_THREE = 0.5773502691896257; static readonly VECTOR2_ZERO: vec2; static readonly VECTOR2_ONE: vec2; static readonly VECTOR2_UNITX: vec2; static readonly VECTOR2_UNITY: vec2; static readonly VECTOR3_ZERO: vec3; static readonly VECTOR3_ONE: vec3; static readonly VECTOR3_UNITX: vec3; static readonly VECTOR3_UNITY: vec3; static readonly VECTOR3_UNITZ: vec3; static readonly VECTOR3_REFLECTX: vec3; static readonly VECTOR3_REFLECTY: vec3; static readonly VECTOR3_REFLECTZ: vec3; static readonly VECTOR4_ZERO: vec4; static readonly VECTOR4_ONE: vec4; static readonly VECTOR4_UNITX: vec4; static readonly VECTOR4_UNITY: vec4; static readonly VECTOR4_UNITZ: vec4; static readonly VECTOR4_UNITW: vec4; static readonly MAT3_IDENTITY: mat3; static readonly MAT4_IDENTITY: mat4; static readonly MAT4_ROTATION_MINUS_90: mat4; static readonly QUAT_IDENTITY: quat; static readonly QUAT_ROTATEX_PLUS_90: vec4; static readonly QUAT_ROTATEX_MINUS_90: vec4; static readonly QUAT_ROTATEY_PLUS_90: vec4; static readonly QUAT_ROTATEY_MINUS_90: vec4; static readonly QUAT_ROTATEZ_PLUS_90: vec4; static readonly QUAT_ROTATEZ_MINUS_90: vec4; static readonly MILLISECONDS_PER_DAY = 86400000; }