UNPKG

the-world-engine

Version:

three.js based, unity like game engine for browser

28 lines (27 loc) 1.09 kB
export class b2CircleShape extends b2Shape { constructor(radius?: number); m_p: b2Vec2; Set(position: any, radius?: any): b2CircleShape; m_radius: any; Clone(): b2CircleShape; Copy(other: any): b2CircleShape; TestPoint(transform: any, p: any): boolean; ComputeDistance(xf: any, p: any, normal: any, childIndex: any): number; RayCast(output: any, input: any, transform: any, childIndex: any): boolean; ComputeAABB(aabb: any, transform: any, childIndex: any): void; ComputeMass(massData: any, density: any): void; SetupDistanceProxy(proxy: any, index: any): void; ComputeSubmergedArea(normal: any, offset: any, xf: any, c: any): number; Dump(log: any): void; } export namespace b2CircleShape { const TestPoint_s_center: b2Vec2; const TestPoint_s_d: b2Vec2; const ComputeDistance_s_center: b2Vec2; const RayCast_s_position: b2Vec2; const RayCast_s_s: b2Vec2; const RayCast_s_r: b2Vec2; const ComputeAABB_s_p: b2Vec2; } import { b2Shape } from "./b2_shape.js"; import { b2Vec2 } from "../common/b2_math.js";