update box2dwasm
This commit is contained in:
parent
24253d9b2e
commit
dc061b7115
|
|
@ -185,6 +185,7 @@ declare namespace B2 {
|
||||||
GetFilterData(): Filter;
|
GetFilterData(): Filter;
|
||||||
Refilter(): void;
|
Refilter(): void;
|
||||||
GetBody(): Body;
|
GetBody(): Body;
|
||||||
|
GetNext(): Fixture;
|
||||||
TestPoint(p: Vec2): boolean;
|
TestPoint(p: Vec2): boolean;
|
||||||
RayCast(output: RayCastOutput, input: RayCastInput, childIndex: number): boolean;
|
RayCast(output: RayCastOutput, input: RayCastInput, childIndex: number): boolean;
|
||||||
GetMassData(massData: MassData): void;
|
GetMassData(massData: MassData): void;
|
||||||
|
|
@ -272,6 +273,8 @@ declare namespace B2 {
|
||||||
IsEnabled(): boolean;
|
IsEnabled(): boolean;
|
||||||
SetFixedRotation(flag: boolean): void;
|
SetFixedRotation(flag: boolean): void;
|
||||||
IsFixedRotation(): boolean;
|
IsFixedRotation(): boolean;
|
||||||
|
GetFixtureList(): Fixture;
|
||||||
|
GetJointList(): number;
|
||||||
GetWorld(): World;
|
GetWorld(): World;
|
||||||
Dump(): void;
|
Dump(): void;
|
||||||
}
|
}
|
||||||
|
|
@ -572,4 +575,10 @@ declare namespace B2 {
|
||||||
function ContactImpulseGetNormalImpulse(contactImpulsePtr: number, index: number): number;
|
function ContactImpulseGetNormalImpulse(contactImpulsePtr: number, index: number): number;
|
||||||
function ContactImpulseGetTangentImpulse(contactImpulsePtr: number, index: number): number;
|
function ContactImpulseGetTangentImpulse(contactImpulsePtr: number, index: number): number;
|
||||||
function ContactImpulseGetCount(contactImpulsePtr: number): number;
|
function ContactImpulseGetCount(contactImpulsePtr: number): number;
|
||||||
|
|
||||||
|
//JointEdge
|
||||||
|
function JointEdgeGetOther(jointEdgePtr: number): number;
|
||||||
|
function JointEdgeGetJoint(jointEdgePtr: number): number;
|
||||||
|
function JointEdgeGetPrev(jointEdgePtr: number): number;
|
||||||
|
function JointEdgeGetNext(jointEdgePtr: number): number;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in New Issue