the-world-engine
Version:
three.js based, unity like game engine for browser
22 lines (21 loc) • 575 B
TypeScript
export function b2CalculateParticleIterations(gravity: any, radius: any, timeStep: any): number;
/**
* The particle type. Can be combined with the | operator.
*/
export const b2ParticleFlag: any;
export class b2ParticleDef {
flags: number;
position: b2Vec2;
velocity: b2Vec2;
color: b2Color;
lifetime: number;
userData: any;
group: any;
}
export class b2ParticleHandle {
m_index: number;
GetIndex(): number;
SetIndex(index: any): void;
}
import { b2Vec2 } from "../common/b2_math.js";
import { b2Color } from "../common/b2_draw.js";