Update matter.d.ts

Added `contactCount`
This commit is contained in:
Zeke Chan 2024-06-27 17:08:02 +08:00
parent 8c5630f8bc
commit 0c12b62ec8

4
types/matter.d.ts vendored
View file

@ -990,7 +990,7 @@ declare namespace MatterJS {
bodyA: Body; bodyA: Body;
bodyB: Body; bodyB: Body;
contacts: any; contacts: any;
activeContacts: any; contactCount: number;
separation: number; separation: number;
isActive: boolean; isActive: boolean;
timeCreated: number; timeCreated: number;
@ -1030,7 +1030,7 @@ declare namespace MatterJS {
id: string; id: string;
bodyA: Body; bodyA: Body;
bodyB: Body; bodyB: Body;
activeContacts: Vector[]; contacts: Vector[];
separation: number; separation: number;
isActive: boolean; isActive: boolean;
confirmedActive: boolean; confirmedActive: boolean;