Skip to content

Commit c3a3fc5

Browse files
author
Alexander Gräfenstein
committed
bring back btBroadphaseInterface inheritance giniedp#3
1 parent 467397a commit c3a3fc5

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

ammo/ambient/ammo.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ declare module Ammo {
440440
}
441441
class btCollisionConfiguration {
442442
}
443-
class btDbvtBroadphase {
443+
class btDbvtBroadphase extends btBroadphaseInterface {
444444
constructor();
445445
}
446446
class btBroadphaseProxy {

ammo/ammo.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ export declare module Ammo {
441441
}
442442
class btCollisionConfiguration {
443443
}
444-
class btDbvtBroadphase {
444+
class btDbvtBroadphase extends btBroadphaseInterface {
445445
constructor();
446446
}
447447
class btBroadphaseProxy {

ammo/ammo.idl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ interface btBroadphaseInterface {
521521
interface btCollisionConfiguration {
522522
};
523523

524-
interface btDbvtBroadphase {
524+
interface btDbvtBroadphase: btBroadphaseInterface {
525525
void btDbvtBroadphase();
526526
};
527527

lib/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ export function parseIDL(path: string) {
5656
.replace(/float\[\]/gi, 'sequence<float>')
5757
.replace(/long\[\]/gi, 'sequence<long>')
5858

59-
return webidl2.parse(idlString)
59+
return webidl2.parse(idlString)
6060
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ammojs-typed",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "Ammo.js with type definitions",
55
"main": "ammo/ammo.js",
66
"types": "ammo/ammo.d.ts",

0 commit comments

Comments
 (0)