UNPKG

the-world-engine

Version:

three.js based, unity like game engine for browser

53 lines (52 loc) 2.1 kB
export function b2Assert(condition: any, ...args: any[]): void; export function b2Maybe(value: any, def: any): any; export function b2ParseInt(v: any): number; export function b2ParseUInt(v: any): number; export function b2MakeArray(length: any, init: any): any[]; export function b2MakeNullArray(length: any): any[]; export function b2MakeNumberArray(length: any, init?: number): any[]; export const b2_maxFloat: 1e+37; export const b2_epsilon: 0.00001; export const b2_epsilon_sq: number; export const b2_pi: 3.14159265359; export const b2_lengthUnitsPerMeter: 1; export const b2_maxPolygonVertices: 8; export const b2_maxManifoldPoints: 2; export const b2_aabbExtension: number; export const b2_aabbMultiplier: 4; export const b2_linearSlop: number; export const b2_angularSlop: number; export const b2_polygonRadius: number; export const b2_maxSubSteps: 8; export const b2_maxTOIContacts: 32; export const b2_maxLinearCorrection: number; export const b2_maxAngularCorrection: number; export const b2_maxTranslation: number; export const b2_maxTranslationSquared: number; export const b2_maxRotation: number; export const b2_maxRotationSquared: number; export const b2_baumgarte: 0.2; export const b2_toiBaumgarte: 0.75; export const b2_invalidParticleIndex: -1; export const b2_maxParticleIndex: 2147483647; export const b2_particleStride: 0.75; export const b2_minParticleWeight: 1; export const b2_maxParticlePressure: 0.25; export const b2_maxParticleForce: 0.5; export const b2_maxTriadDistance: number; export const b2_maxTriadDistanceSquared: number; export const b2_minParticleSystemBufferCapacity: 256; export const b2_barrierCollisionTime: 2.5; export const b2_timeToSleep: 0.5; export const b2_linearSleepTolerance: number; export const b2_angularSleepTolerance: number; export class b2Version { constructor(major?: number, minor?: number, revision?: number); major: number; minor: number; revision: number; toString(): string; } export const b2_version: b2Version; export const b2_branch: "master"; export const b2_commit: "9ebbbcd960ad424e03e5de6e66a40764c16f51bc";