@newkrok/nape-js 3.3.28 → 3.3.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +19246 -21162
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +19246 -21162
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1395,6 +1395,8 @@ declare class ZPP_Constraint {
|
|
|
1395
1395
|
inactiveOrOutSpace(): void;
|
|
1396
1396
|
wake(): void;
|
|
1397
1397
|
copyto(ret: Any$E): void;
|
|
1398
|
+
static _findRoot(comp: Any$E): Any$E;
|
|
1399
|
+
static _unionComponents(a: Any$E, b: Any$E): void;
|
|
1398
1400
|
}
|
|
1399
1401
|
|
|
1400
1402
|
type Any$D = any;
|
|
@@ -3286,6 +3288,14 @@ declare class ZPP_AngleJoint extends ZPP_Constraint {
|
|
|
3286
3288
|
applyImpulseVel(): boolean;
|
|
3287
3289
|
applyImpulsePos(): boolean;
|
|
3288
3290
|
draw(_g: Any$6): void;
|
|
3291
|
+
/**
|
|
3292
|
+
* Small-angle-optimized body rotation. Used by all joints' applyImpulsePos.
|
|
3293
|
+
*/
|
|
3294
|
+
static _rotateBody(body: Any$6, dr: number): void;
|
|
3295
|
+
/**
|
|
3296
|
+
* Dict-lookup / deferred-todo body copying. Used by all joints' copy().
|
|
3297
|
+
*/
|
|
3298
|
+
static _copyBody(dict: Any$6, todo: Any$6, srcBody: Any$6, ret: Any$6, field: string): void;
|
|
3289
3299
|
}
|
|
3290
3300
|
|
|
3291
3301
|
type Any$5 = any;
|
package/dist/index.d.ts
CHANGED
|
@@ -1395,6 +1395,8 @@ declare class ZPP_Constraint {
|
|
|
1395
1395
|
inactiveOrOutSpace(): void;
|
|
1396
1396
|
wake(): void;
|
|
1397
1397
|
copyto(ret: Any$E): void;
|
|
1398
|
+
static _findRoot(comp: Any$E): Any$E;
|
|
1399
|
+
static _unionComponents(a: Any$E, b: Any$E): void;
|
|
1398
1400
|
}
|
|
1399
1401
|
|
|
1400
1402
|
type Any$D = any;
|
|
@@ -3286,6 +3288,14 @@ declare class ZPP_AngleJoint extends ZPP_Constraint {
|
|
|
3286
3288
|
applyImpulseVel(): boolean;
|
|
3287
3289
|
applyImpulsePos(): boolean;
|
|
3288
3290
|
draw(_g: Any$6): void;
|
|
3291
|
+
/**
|
|
3292
|
+
* Small-angle-optimized body rotation. Used by all joints' applyImpulsePos.
|
|
3293
|
+
*/
|
|
3294
|
+
static _rotateBody(body: Any$6, dr: number): void;
|
|
3295
|
+
/**
|
|
3296
|
+
* Dict-lookup / deferred-todo body copying. Used by all joints' copy().
|
|
3297
|
+
*/
|
|
3298
|
+
static _copyBody(dict: Any$6, todo: Any$6, srcBody: Any$6, ret: Any$6, field: string): void;
|
|
3289
3299
|
}
|
|
3290
3300
|
|
|
3291
3301
|
type Any$5 = any;
|