@perplexdotgg/bounce 1.5.0 → 1.5.1
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/build/bounce.d.ts +435 -435
- package/package.json +2 -2
package/build/bounce.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ x?: number;
|
|
|
65
65
|
y?: number;
|
|
66
66
|
z?: number;
|
|
67
67
|
} | undefined>, true, typeof Vec3>;
|
|
68
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
68
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
69
69
|
min: typeof Vec3;
|
|
70
70
|
max: typeof Vec3;
|
|
71
71
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -73,7 +73,7 @@ x?: number;
|
|
|
73
73
|
y?: number;
|
|
74
74
|
z?: number;
|
|
75
75
|
} | undefined>, true, typeof Vec3>;
|
|
76
|
-
}
|
|
76
|
+
}>> | undefined>;
|
|
77
77
|
|
|
78
78
|
export declare const enum ActiveEdgeMode {
|
|
79
79
|
CollideOnlyWithActive = 0,
|
|
@@ -102,15 +102,15 @@ declare class AngleComponent extends AngleComponent_base {
|
|
|
102
102
|
declare const AngleComponent_base: Monomorph<AngleComponent, ConvertedInputPropertyDefinitionMap< {
|
|
103
103
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
104
104
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
105
|
-
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
105
|
+
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
106
106
|
positionBaumgarte: number;
|
|
107
107
|
velocityBaumgarte: number;
|
|
108
108
|
strength: number;
|
|
109
|
-
}
|
|
110
|
-
springConstraintPart: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
109
|
+
}>> | undefined>, true, typeof ConstraintOptions>;
|
|
110
|
+
springConstraintPart: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
111
111
|
bias: number;
|
|
112
112
|
softness: number;
|
|
113
|
-
}
|
|
113
|
+
}>> | undefined>, true, typeof SpringComponent>;
|
|
114
114
|
effectiveMass: PropertyDefinitionNumber<true>;
|
|
115
115
|
effectiveInverseInertiaA: PropertyDefinition_2<NoInfer<number[] | {
|
|
116
116
|
x?: number;
|
|
@@ -123,18 +123,18 @@ y?: number;
|
|
|
123
123
|
z?: number;
|
|
124
124
|
} | undefined>, true, typeof Vec3>;
|
|
125
125
|
totalLambda: PropertyDefinitionNumber<true>;
|
|
126
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
126
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
127
127
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
128
128
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
129
|
-
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
129
|
+
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
130
130
|
positionBaumgarte: number;
|
|
131
131
|
velocityBaumgarte: number;
|
|
132
132
|
strength: number;
|
|
133
|
-
}
|
|
134
|
-
springConstraintPart: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
133
|
+
}>> | undefined>, true, typeof ConstraintOptions>;
|
|
134
|
+
springConstraintPart: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
135
135
|
bias: number;
|
|
136
136
|
softness: number;
|
|
137
|
-
}
|
|
137
|
+
}>> | undefined>, true, typeof SpringComponent>;
|
|
138
138
|
effectiveMass: PropertyDefinitionNumber<true>;
|
|
139
139
|
effectiveInverseInertiaA: PropertyDefinition_2<NoInfer<number[] | {
|
|
140
140
|
x?: number;
|
|
@@ -147,7 +147,7 @@ y?: number;
|
|
|
147
147
|
z?: number;
|
|
148
148
|
} | undefined>, true, typeof Vec3>;
|
|
149
149
|
totalLambda: PropertyDefinitionNumber<true>;
|
|
150
|
-
}
|
|
150
|
+
}>> | undefined>;
|
|
151
151
|
|
|
152
152
|
declare class ArrayPool<T extends {
|
|
153
153
|
index: number;
|
|
@@ -180,11 +180,11 @@ declare class AxisComponent extends AxisComponent_base {
|
|
|
180
180
|
declare const AxisComponent_base: Monomorph<AxisComponent, ConvertedInputPropertyDefinitionMap< {
|
|
181
181
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
182
182
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
183
|
-
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
183
|
+
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
184
184
|
positionBaumgarte: number;
|
|
185
185
|
velocityBaumgarte: number;
|
|
186
186
|
strength: number;
|
|
187
|
-
}
|
|
187
|
+
}>> | undefined>, true, typeof ConstraintOptions>;
|
|
188
188
|
mR1PlusUxAxis: PropertyDefinition_2<NoInfer<number[] | {
|
|
189
189
|
x?: number;
|
|
190
190
|
y?: number;
|
|
@@ -208,14 +208,14 @@ z?: number;
|
|
|
208
208
|
effectiveMass: number;
|
|
209
209
|
totalLambda: number;
|
|
210
210
|
springComponent: typeof SpringComponent;
|
|
211
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
211
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
212
212
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
213
213
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
214
|
-
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
214
|
+
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
215
215
|
positionBaumgarte: number;
|
|
216
216
|
velocityBaumgarte: number;
|
|
217
217
|
strength: number;
|
|
218
|
-
}
|
|
218
|
+
}>> | undefined>, true, typeof ConstraintOptions>;
|
|
219
219
|
mR1PlusUxAxis: PropertyDefinition_2<NoInfer<number[] | {
|
|
220
220
|
x?: number;
|
|
221
221
|
y?: number;
|
|
@@ -239,20 +239,20 @@ z?: number;
|
|
|
239
239
|
effectiveMass: number;
|
|
240
240
|
totalLambda: number;
|
|
241
241
|
springComponent: typeof SpringComponent;
|
|
242
|
-
}
|
|
242
|
+
}>> | undefined>;
|
|
243
243
|
|
|
244
244
|
export declare const enum BackFaceMode {
|
|
245
245
|
IgnoreBackFaces = 0,
|
|
246
246
|
CollideWithBackFaces = 1
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export declare const baseConstraintProps:
|
|
250
|
-
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
251
|
-
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
252
|
-
constraintPairNode: PropertyDefinitionReference<ConstraintPairNode | null, true>;
|
|
253
|
-
referenceFrame: PropertyDefinition_2<ReferenceFrame, true>;
|
|
254
|
-
isEnabled: PropertyDefinitionBoolean<true>;
|
|
255
|
-
}
|
|
249
|
+
export declare const baseConstraintProps: {
|
|
250
|
+
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
251
|
+
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
252
|
+
constraintPairNode: PropertyDefinitionReference<ConstraintPairNode | null, true>;
|
|
253
|
+
referenceFrame: PropertyDefinition_2<ReferenceFrame, true>;
|
|
254
|
+
isEnabled: PropertyDefinitionBoolean<true>;
|
|
255
|
+
};
|
|
256
256
|
|
|
257
257
|
export declare class BasicTransform extends BasicTransform_base {
|
|
258
258
|
equals(other: BasicTransform, tolerance?: number): boolean;
|
|
@@ -262,11 +262,11 @@ declare const BasicTransform_base: Monomorph<BasicTransform, ConvertedInputPrope
|
|
|
262
262
|
position: typeof Vec3;
|
|
263
263
|
rotation: typeof Quat;
|
|
264
264
|
scale: number;
|
|
265
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
265
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
266
266
|
position: typeof Vec3;
|
|
267
267
|
rotation: typeof Quat;
|
|
268
268
|
scale: number;
|
|
269
|
-
}
|
|
269
|
+
}>> | undefined>;
|
|
270
270
|
|
|
271
271
|
declare class Body_2 extends Body_base {
|
|
272
272
|
world: World | null;
|
|
@@ -329,7 +329,7 @@ x?: number;
|
|
|
329
329
|
y?: number;
|
|
330
330
|
z?: number;
|
|
331
331
|
} | undefined>, true, typeof Vec3>;
|
|
332
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
332
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<{
|
|
333
333
|
min: typeof Vec3;
|
|
334
334
|
max: typeof Vec3;
|
|
335
335
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -337,8 +337,8 @@ x?: number;
|
|
|
337
337
|
y?: number;
|
|
338
338
|
z?: number;
|
|
339
339
|
} | undefined>, true, typeof Vec3>;
|
|
340
|
-
}
|
|
341
|
-
computedExpandedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
340
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
341
|
+
computedExpandedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<{
|
|
342
342
|
min: typeof Vec3;
|
|
343
343
|
max: typeof Vec3;
|
|
344
344
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -346,7 +346,7 @@ x?: number;
|
|
|
346
346
|
y?: number;
|
|
347
347
|
z?: number;
|
|
348
348
|
} | undefined>, true, typeof Vec3>;
|
|
349
|
-
}
|
|
349
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
350
350
|
previousPosition: PropertyDefinition_2<NoInfer<number[] | {
|
|
351
351
|
x?: number;
|
|
352
352
|
y?: number;
|
|
@@ -367,7 +367,7 @@ restitutionFunction: PropertyDefinition_2<CoefficientFunctionType, true>;
|
|
|
367
367
|
mass: number;
|
|
368
368
|
density: number;
|
|
369
369
|
inverseMass: PropertyDefinitionNumber<true>;
|
|
370
|
-
computedLocalInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
370
|
+
computedLocalInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<{
|
|
371
371
|
e0: number;
|
|
372
372
|
e1: number;
|
|
373
373
|
e2: number;
|
|
@@ -377,8 +377,8 @@ e5: number;
|
|
|
377
377
|
e6: number;
|
|
378
378
|
e7: number;
|
|
379
379
|
e8: number;
|
|
380
|
-
}
|
|
381
|
-
computedWorldInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
380
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
381
|
+
computedWorldInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<{
|
|
382
382
|
e0: number;
|
|
383
383
|
e1: number;
|
|
384
384
|
e2: number;
|
|
@@ -388,7 +388,7 @@ e5: number;
|
|
|
388
388
|
e6: number;
|
|
389
389
|
e7: number;
|
|
390
390
|
e8: number;
|
|
391
|
-
}
|
|
391
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
392
392
|
colliderType: PropertyDefinition_2<ColliderType, true>;
|
|
393
393
|
gravityScale: number;
|
|
394
394
|
linearForces: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -420,7 +420,7 @@ linearDamping: number;
|
|
|
420
420
|
angularDamping: number;
|
|
421
421
|
firstPotentialConstraintPairEdge: PropertyDefinitionReference<ConstraintPairEdge | null, true>;
|
|
422
422
|
visitGeneration: PropertyDefinitionNumber<true>;
|
|
423
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
423
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<{
|
|
424
424
|
type: PropertyDefinition_2<BodyType, true>;
|
|
425
425
|
position: typeof Vec3;
|
|
426
426
|
orientation: typeof Quat;
|
|
@@ -431,7 +431,7 @@ x?: number;
|
|
|
431
431
|
y?: number;
|
|
432
432
|
z?: number;
|
|
433
433
|
} | undefined>, true, typeof Vec3>;
|
|
434
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
434
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<{
|
|
435
435
|
min: typeof Vec3;
|
|
436
436
|
max: typeof Vec3;
|
|
437
437
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -439,8 +439,8 @@ x?: number;
|
|
|
439
439
|
y?: number;
|
|
440
440
|
z?: number;
|
|
441
441
|
} | undefined>, true, typeof Vec3>;
|
|
442
|
-
}
|
|
443
|
-
computedExpandedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
442
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
443
|
+
computedExpandedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<{
|
|
444
444
|
min: typeof Vec3;
|
|
445
445
|
max: typeof Vec3;
|
|
446
446
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -448,7 +448,7 @@ x?: number;
|
|
|
448
448
|
y?: number;
|
|
449
449
|
z?: number;
|
|
450
450
|
} | undefined>, true, typeof Vec3>;
|
|
451
|
-
}
|
|
451
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
452
452
|
previousPosition: PropertyDefinition_2<NoInfer<number[] | {
|
|
453
453
|
x?: number;
|
|
454
454
|
y?: number;
|
|
@@ -469,7 +469,7 @@ restitutionFunction: PropertyDefinition_2<CoefficientFunctionType, true>;
|
|
|
469
469
|
mass: number;
|
|
470
470
|
density: number;
|
|
471
471
|
inverseMass: PropertyDefinitionNumber<true>;
|
|
472
|
-
computedLocalInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
472
|
+
computedLocalInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<{
|
|
473
473
|
e0: number;
|
|
474
474
|
e1: number;
|
|
475
475
|
e2: number;
|
|
@@ -479,8 +479,8 @@ e5: number;
|
|
|
479
479
|
e6: number;
|
|
480
480
|
e7: number;
|
|
481
481
|
e8: number;
|
|
482
|
-
}
|
|
483
|
-
computedWorldInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
482
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
483
|
+
computedWorldInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<{
|
|
484
484
|
e0: number;
|
|
485
485
|
e1: number;
|
|
486
486
|
e2: number;
|
|
@@ -490,7 +490,7 @@ e5: number;
|
|
|
490
490
|
e6: number;
|
|
491
491
|
e7: number;
|
|
492
492
|
e8: number;
|
|
493
|
-
}
|
|
493
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
494
494
|
colliderType: PropertyDefinition_2<ColliderType, true>;
|
|
495
495
|
gravityScale: number;
|
|
496
496
|
linearForces: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -522,7 +522,7 @@ linearDamping: number;
|
|
|
522
522
|
angularDamping: number;
|
|
523
523
|
firstPotentialConstraintPairEdge: PropertyDefinitionReference<ConstraintPairEdge | null, true>;
|
|
524
524
|
visitGeneration: PropertyDefinitionNumber<true>;
|
|
525
|
-
}
|
|
525
|
+
}>> & {
|
|
526
526
|
shape: Shape;
|
|
527
527
|
world?: World | null;
|
|
528
528
|
}>;
|
|
@@ -534,11 +534,11 @@ declare const BodyPairEdge_base: Monomorph<BodyPairEdge, ConvertedInputPropertyD
|
|
|
534
534
|
node: PropertyDefinitionReference<BodyPairNode | null, true>;
|
|
535
535
|
next: PropertyDefinitionReference<BodyPairEdge | null, true>;
|
|
536
536
|
prev: PropertyDefinitionReference<BodyPairEdge | null, true>;
|
|
537
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
537
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
538
538
|
node: PropertyDefinitionReference<BodyPairNode | null, true>;
|
|
539
539
|
next: PropertyDefinitionReference<BodyPairEdge | null, true>;
|
|
540
540
|
prev: PropertyDefinitionReference<BodyPairEdge | null, true>;
|
|
541
|
-
}
|
|
541
|
+
}>> | undefined>;
|
|
542
542
|
|
|
543
543
|
export declare class BodyPairNode extends BodyPairNode_base {
|
|
544
544
|
containsStaticBody(): boolean;
|
|
@@ -549,12 +549,12 @@ bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
|
549
549
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
550
550
|
edgeA: PropertyDefinitionReference<BodyPairEdge | null, true>;
|
|
551
551
|
edgeB: PropertyDefinitionReference<BodyPairEdge | null, true>;
|
|
552
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
552
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
553
553
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
554
554
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
555
555
|
edgeA: PropertyDefinitionReference<BodyPairEdge | null, true>;
|
|
556
556
|
edgeB: PropertyDefinitionReference<BodyPairEdge | null, true>;
|
|
557
|
-
}
|
|
557
|
+
}>> | undefined>;
|
|
558
558
|
|
|
559
559
|
export declare class BodyPairsModule {
|
|
560
560
|
bodyPool: PoolClass<Body_2>;
|
|
@@ -580,12 +580,12 @@ export declare class BodyPairsModule {
|
|
|
580
580
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
581
581
|
edgeA: PropertyDefinitionReference<BodyPairEdge | null, true>;
|
|
582
582
|
edgeB: PropertyDefinitionReference<BodyPairEdge | null, true>;
|
|
583
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
583
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
584
584
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
585
585
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
586
586
|
edgeA: PropertyDefinitionReference<BodyPairEdge | null, true>;
|
|
587
587
|
edgeB: PropertyDefinitionReference<BodyPairEdge | null, true>;
|
|
588
|
-
}
|
|
588
|
+
}>> | undefined, BodyPairNode>;
|
|
589
589
|
/**
|
|
590
590
|
* destroys a body pair. O(k) where k is the number of pairs involving bodyA
|
|
591
591
|
*/
|
|
@@ -636,7 +636,7 @@ y?: number;
|
|
|
636
636
|
z?: number;
|
|
637
637
|
} | undefined>, true, typeof Vec3>;
|
|
638
638
|
computedVolume: PropertyDefinitionNumber<true>;
|
|
639
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
639
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
640
640
|
min: typeof Vec3;
|
|
641
641
|
max: typeof Vec3;
|
|
642
642
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -644,14 +644,14 @@ x?: number;
|
|
|
644
644
|
y?: number;
|
|
645
645
|
z?: number;
|
|
646
646
|
} | undefined>, true, typeof Vec3>;
|
|
647
|
-
}
|
|
647
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
648
648
|
convexRadius: number;
|
|
649
649
|
width: number;
|
|
650
650
|
height: number;
|
|
651
651
|
depth: number;
|
|
652
|
-
boxSupport: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
652
|
+
boxSupport: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
653
653
|
convexRadius: number;
|
|
654
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
654
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
655
655
|
min: typeof Vec3;
|
|
656
656
|
max: typeof Vec3;
|
|
657
657
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -659,17 +659,17 @@ x?: number;
|
|
|
659
659
|
y?: number;
|
|
660
660
|
z?: number;
|
|
661
661
|
} | undefined>, true, typeof Vec3>;
|
|
662
|
-
}
|
|
663
|
-
}
|
|
662
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
663
|
+
}>> | undefined>, true, typeof BoxSupport>;
|
|
664
664
|
copyForDiff: PropertyDefinitionReference<Box | null, true>;
|
|
665
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
665
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
666
666
|
computedCenterOfMass: PropertyDefinition_2<NoInfer<number[] | {
|
|
667
667
|
x?: number;
|
|
668
668
|
y?: number;
|
|
669
669
|
z?: number;
|
|
670
670
|
} | undefined>, true, typeof Vec3>;
|
|
671
671
|
computedVolume: PropertyDefinitionNumber<true>;
|
|
672
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
672
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
673
673
|
min: typeof Vec3;
|
|
674
674
|
max: typeof Vec3;
|
|
675
675
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -677,14 +677,14 @@ x?: number;
|
|
|
677
677
|
y?: number;
|
|
678
678
|
z?: number;
|
|
679
679
|
} | undefined>, true, typeof Vec3>;
|
|
680
|
-
}
|
|
680
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
681
681
|
convexRadius: number;
|
|
682
682
|
width: number;
|
|
683
683
|
height: number;
|
|
684
684
|
depth: number;
|
|
685
|
-
boxSupport: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
685
|
+
boxSupport: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
686
686
|
convexRadius: number;
|
|
687
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
687
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
688
688
|
min: typeof Vec3;
|
|
689
689
|
max: typeof Vec3;
|
|
690
690
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -692,10 +692,10 @@ x?: number;
|
|
|
692
692
|
y?: number;
|
|
693
693
|
z?: number;
|
|
694
694
|
} | undefined>, true, typeof Vec3>;
|
|
695
|
-
}
|
|
696
|
-
}
|
|
695
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
696
|
+
}>> | undefined>, true, typeof BoxSupport>;
|
|
697
697
|
copyForDiff: PropertyDefinitionReference<Box | null, true>;
|
|
698
|
-
}
|
|
698
|
+
}>> | undefined>;
|
|
699
699
|
|
|
700
700
|
declare class BoxSupport extends BoxSupport_base {
|
|
701
701
|
computeSupport(out: Vec3, direction: Vec3): void;
|
|
@@ -704,7 +704,7 @@ declare class BoxSupport extends BoxSupport_base {
|
|
|
704
704
|
|
|
705
705
|
declare const BoxSupport_base: Monomorph<BoxSupport, ConvertedInputPropertyDefinitionMap< {
|
|
706
706
|
convexRadius: number;
|
|
707
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
707
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
708
708
|
min: typeof Vec3;
|
|
709
709
|
max: typeof Vec3;
|
|
710
710
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -712,10 +712,10 @@ x?: number;
|
|
|
712
712
|
y?: number;
|
|
713
713
|
z?: number;
|
|
714
714
|
} | undefined>, true, typeof Vec3>;
|
|
715
|
-
}
|
|
716
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
715
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
716
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
717
717
|
convexRadius: number;
|
|
718
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
718
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
719
719
|
min: typeof Vec3;
|
|
720
720
|
max: typeof Vec3;
|
|
721
721
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -723,8 +723,8 @@ x?: number;
|
|
|
723
723
|
y?: number;
|
|
724
724
|
z?: number;
|
|
725
725
|
} | undefined>, true, typeof Vec3>;
|
|
726
|
-
}
|
|
727
|
-
}
|
|
726
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
727
|
+
}>> | undefined>;
|
|
728
728
|
|
|
729
729
|
declare interface BuildTriangleMeshParams {
|
|
730
730
|
vertexPositions: Float32Array;
|
|
@@ -778,7 +778,7 @@ declare const BvhNode_base: Monomorph<BvhNode, ConvertedInputPropertyDefinitionM
|
|
|
778
778
|
parent: PropertyDefinitionReference<BvhNode | null, true>;
|
|
779
779
|
left: PropertyDefinitionReference<BvhNode | null, true>;
|
|
780
780
|
right: PropertyDefinitionReference<BvhNode | null, true>;
|
|
781
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
781
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
782
782
|
min: typeof Vec3;
|
|
783
783
|
max: typeof Vec3;
|
|
784
784
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -786,11 +786,11 @@ x?: number;
|
|
|
786
786
|
y?: number;
|
|
787
787
|
z?: number;
|
|
788
788
|
} | undefined>, true, typeof Vec3>;
|
|
789
|
-
}
|
|
789
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
790
790
|
height: number;
|
|
791
791
|
objects: PropertyDefinitionReferenceList<Body_2, {
|
|
792
792
|
pool: PoolClass<Body_2>;
|
|
793
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
793
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
794
794
|
type: PropertyDefinition_2<BodyType, true>;
|
|
795
795
|
position: typeof Vec3;
|
|
796
796
|
orientation: Quat;
|
|
@@ -801,7 +801,7 @@ x?: number;
|
|
|
801
801
|
y?: number;
|
|
802
802
|
z?: number;
|
|
803
803
|
} | undefined>, true, typeof Vec3>;
|
|
804
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
804
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
805
805
|
min: typeof Vec3;
|
|
806
806
|
max: typeof Vec3;
|
|
807
807
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -809,8 +809,8 @@ x?: number;
|
|
|
809
809
|
y?: number;
|
|
810
810
|
z?: number;
|
|
811
811
|
} | undefined>, true, typeof Vec3>;
|
|
812
|
-
}
|
|
813
|
-
computedExpandedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
812
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
813
|
+
computedExpandedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
814
814
|
min: typeof Vec3;
|
|
815
815
|
max: typeof Vec3;
|
|
816
816
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -818,7 +818,7 @@ x?: number;
|
|
|
818
818
|
y?: number;
|
|
819
819
|
z?: number;
|
|
820
820
|
} | undefined>, true, typeof Vec3>;
|
|
821
|
-
}
|
|
821
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
822
822
|
previousPosition: PropertyDefinition_2<NoInfer<number[] | {
|
|
823
823
|
x?: number;
|
|
824
824
|
y?: number;
|
|
@@ -839,7 +839,7 @@ restitutionFunction: PropertyDefinition_2<CoefficientFunctionType, true>;
|
|
|
839
839
|
mass: number;
|
|
840
840
|
density: number;
|
|
841
841
|
inverseMass: PropertyDefinitionNumber<true>;
|
|
842
|
-
computedLocalInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
842
|
+
computedLocalInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
843
843
|
e0: number;
|
|
844
844
|
e1: number;
|
|
845
845
|
e2: number;
|
|
@@ -849,8 +849,8 @@ e5: number;
|
|
|
849
849
|
e6: number;
|
|
850
850
|
e7: number;
|
|
851
851
|
e8: number;
|
|
852
|
-
}
|
|
853
|
-
computedWorldInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
852
|
+
}>> | undefined>, true, Mat3>;
|
|
853
|
+
computedWorldInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
854
854
|
e0: number;
|
|
855
855
|
e1: number;
|
|
856
856
|
e2: number;
|
|
@@ -860,7 +860,7 @@ e5: number;
|
|
|
860
860
|
e6: number;
|
|
861
861
|
e7: number;
|
|
862
862
|
e8: number;
|
|
863
|
-
}
|
|
863
|
+
}>> | undefined>, true, Mat3>;
|
|
864
864
|
colliderType: PropertyDefinition_2<ColliderType, true>;
|
|
865
865
|
gravityScale: number;
|
|
866
866
|
linearForces: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -892,17 +892,17 @@ linearDamping: number;
|
|
|
892
892
|
angularDamping: number;
|
|
893
893
|
firstPotentialConstraintPairEdge: PropertyDefinitionReference<ConstraintPairEdge | null, true>;
|
|
894
894
|
visitGeneration: PropertyDefinitionNumber<true>;
|
|
895
|
-
}
|
|
895
|
+
}>> & {
|
|
896
896
|
shape: Shape;
|
|
897
897
|
world?: World | null;
|
|
898
898
|
})[] | undefined;
|
|
899
899
|
maxLength?: number;
|
|
900
900
|
}>;
|
|
901
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
901
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
902
902
|
parent: PropertyDefinitionReference<BvhNode | null, true>;
|
|
903
903
|
left: PropertyDefinitionReference<BvhNode | null, true>;
|
|
904
904
|
right: PropertyDefinitionReference<BvhNode | null, true>;
|
|
905
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
905
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
906
906
|
min: typeof Vec3;
|
|
907
907
|
max: typeof Vec3;
|
|
908
908
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -910,11 +910,11 @@ x?: number;
|
|
|
910
910
|
y?: number;
|
|
911
911
|
z?: number;
|
|
912
912
|
} | undefined>, true, typeof Vec3>;
|
|
913
|
-
}
|
|
913
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
914
914
|
height: number;
|
|
915
915
|
objects: PropertyDefinitionReferenceList<Body_2, {
|
|
916
916
|
pool: PoolClass<Body_2>;
|
|
917
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
917
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
918
918
|
type: PropertyDefinition_2<BodyType, true>;
|
|
919
919
|
position: typeof Vec3;
|
|
920
920
|
orientation: Quat;
|
|
@@ -925,7 +925,7 @@ x?: number;
|
|
|
925
925
|
y?: number;
|
|
926
926
|
z?: number;
|
|
927
927
|
} | undefined>, true, typeof Vec3>;
|
|
928
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
928
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
929
929
|
min: typeof Vec3;
|
|
930
930
|
max: typeof Vec3;
|
|
931
931
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -933,8 +933,8 @@ x?: number;
|
|
|
933
933
|
y?: number;
|
|
934
934
|
z?: number;
|
|
935
935
|
} | undefined>, true, typeof Vec3>;
|
|
936
|
-
}
|
|
937
|
-
computedExpandedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
936
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
937
|
+
computedExpandedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
938
938
|
min: typeof Vec3;
|
|
939
939
|
max: typeof Vec3;
|
|
940
940
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -942,7 +942,7 @@ x?: number;
|
|
|
942
942
|
y?: number;
|
|
943
943
|
z?: number;
|
|
944
944
|
} | undefined>, true, typeof Vec3>;
|
|
945
|
-
}
|
|
945
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
946
946
|
previousPosition: PropertyDefinition_2<NoInfer<number[] | {
|
|
947
947
|
x?: number;
|
|
948
948
|
y?: number;
|
|
@@ -963,7 +963,7 @@ restitutionFunction: PropertyDefinition_2<CoefficientFunctionType, true>;
|
|
|
963
963
|
mass: number;
|
|
964
964
|
density: number;
|
|
965
965
|
inverseMass: PropertyDefinitionNumber<true>;
|
|
966
|
-
computedLocalInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
966
|
+
computedLocalInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
967
967
|
e0: number;
|
|
968
968
|
e1: number;
|
|
969
969
|
e2: number;
|
|
@@ -973,8 +973,8 @@ e5: number;
|
|
|
973
973
|
e6: number;
|
|
974
974
|
e7: number;
|
|
975
975
|
e8: number;
|
|
976
|
-
}
|
|
977
|
-
computedWorldInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
976
|
+
}>> | undefined>, true, Mat3>;
|
|
977
|
+
computedWorldInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
978
978
|
e0: number;
|
|
979
979
|
e1: number;
|
|
980
980
|
e2: number;
|
|
@@ -984,7 +984,7 @@ e5: number;
|
|
|
984
984
|
e6: number;
|
|
985
985
|
e7: number;
|
|
986
986
|
e8: number;
|
|
987
|
-
}
|
|
987
|
+
}>> | undefined>, true, Mat3>;
|
|
988
988
|
colliderType: PropertyDefinition_2<ColliderType, true>;
|
|
989
989
|
gravityScale: number;
|
|
990
990
|
linearForces: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -1016,13 +1016,13 @@ linearDamping: number;
|
|
|
1016
1016
|
angularDamping: number;
|
|
1017
1017
|
firstPotentialConstraintPairEdge: PropertyDefinitionReference<ConstraintPairEdge | null, true>;
|
|
1018
1018
|
visitGeneration: PropertyDefinitionNumber<true>;
|
|
1019
|
-
}
|
|
1019
|
+
}>> & {
|
|
1020
1020
|
shape: Shape;
|
|
1021
1021
|
world?: World | null;
|
|
1022
1022
|
})[] | undefined;
|
|
1023
1023
|
maxLength?: number;
|
|
1024
1024
|
}>;
|
|
1025
|
-
}
|
|
1025
|
+
}>> | undefined>;
|
|
1026
1026
|
|
|
1027
1027
|
export declare class BvhTree {
|
|
1028
1028
|
options: BvhTreeOptions;
|
|
@@ -1045,7 +1045,7 @@ export declare class BvhTree {
|
|
|
1045
1045
|
parent: PropertyDefinitionReference<BvhNode | null, true>;
|
|
1046
1046
|
left: PropertyDefinitionReference<BvhNode | null, true>;
|
|
1047
1047
|
right: PropertyDefinitionReference<BvhNode | null, true>;
|
|
1048
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1048
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1049
1049
|
min: typeof Vec3;
|
|
1050
1050
|
max: typeof Vec3;
|
|
1051
1051
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -1053,11 +1053,11 @@ export declare class BvhTree {
|
|
|
1053
1053
|
y?: number;
|
|
1054
1054
|
z?: number;
|
|
1055
1055
|
} | undefined>, true, typeof Vec3>;
|
|
1056
|
-
}
|
|
1056
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
1057
1057
|
height: number;
|
|
1058
1058
|
objects: PropertyDefinitionReferenceList<Body_2, {
|
|
1059
1059
|
pool: PoolClass<Body_2>;
|
|
1060
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1060
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1061
1061
|
type: PropertyDefinition_2<BodyType, true>;
|
|
1062
1062
|
position: typeof Vec3;
|
|
1063
1063
|
orientation: Quat;
|
|
@@ -1068,7 +1068,7 @@ export declare class BvhTree {
|
|
|
1068
1068
|
y?: number;
|
|
1069
1069
|
z?: number;
|
|
1070
1070
|
} | undefined>, true, typeof Vec3>;
|
|
1071
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1071
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1072
1072
|
min: typeof Vec3;
|
|
1073
1073
|
max: typeof Vec3;
|
|
1074
1074
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -1076,8 +1076,8 @@ export declare class BvhTree {
|
|
|
1076
1076
|
y?: number;
|
|
1077
1077
|
z?: number;
|
|
1078
1078
|
} | undefined>, true, typeof Vec3>;
|
|
1079
|
-
}
|
|
1080
|
-
computedExpandedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1079
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
1080
|
+
computedExpandedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1081
1081
|
min: typeof Vec3;
|
|
1082
1082
|
max: typeof Vec3;
|
|
1083
1083
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -1085,7 +1085,7 @@ export declare class BvhTree {
|
|
|
1085
1085
|
y?: number;
|
|
1086
1086
|
z?: number;
|
|
1087
1087
|
} | undefined>, true, typeof Vec3>;
|
|
1088
|
-
}
|
|
1088
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
1089
1089
|
previousPosition: PropertyDefinition_2<NoInfer<number[] | {
|
|
1090
1090
|
x?: number;
|
|
1091
1091
|
y?: number;
|
|
@@ -1106,7 +1106,7 @@ export declare class BvhTree {
|
|
|
1106
1106
|
mass: number;
|
|
1107
1107
|
density: number;
|
|
1108
1108
|
inverseMass: PropertyDefinitionNumber<true>;
|
|
1109
|
-
computedLocalInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1109
|
+
computedLocalInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1110
1110
|
e0: number;
|
|
1111
1111
|
e1: number;
|
|
1112
1112
|
e2: number;
|
|
@@ -1116,8 +1116,8 @@ export declare class BvhTree {
|
|
|
1116
1116
|
e6: number;
|
|
1117
1117
|
e7: number;
|
|
1118
1118
|
e8: number;
|
|
1119
|
-
}
|
|
1120
|
-
computedWorldInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1119
|
+
}>> | undefined>, true, Mat3>;
|
|
1120
|
+
computedWorldInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1121
1121
|
e0: number;
|
|
1122
1122
|
e1: number;
|
|
1123
1123
|
e2: number;
|
|
@@ -1127,7 +1127,7 @@ export declare class BvhTree {
|
|
|
1127
1127
|
e6: number;
|
|
1128
1128
|
e7: number;
|
|
1129
1129
|
e8: number;
|
|
1130
|
-
}
|
|
1130
|
+
}>> | undefined>, true, Mat3>;
|
|
1131
1131
|
colliderType: PropertyDefinition_2<ColliderType, true>;
|
|
1132
1132
|
gravityScale: number;
|
|
1133
1133
|
linearForces: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -1159,17 +1159,17 @@ export declare class BvhTree {
|
|
|
1159
1159
|
angularDamping: number;
|
|
1160
1160
|
firstPotentialConstraintPairEdge: PropertyDefinitionReference<ConstraintPairEdge | null, true>;
|
|
1161
1161
|
visitGeneration: PropertyDefinitionNumber<true>;
|
|
1162
|
-
}
|
|
1162
|
+
}>> & {
|
|
1163
1163
|
shape: Shape;
|
|
1164
1164
|
world?: World | null;
|
|
1165
1165
|
})[] | undefined;
|
|
1166
1166
|
maxLength?: number;
|
|
1167
1167
|
}>;
|
|
1168
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1168
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1169
1169
|
parent: PropertyDefinitionReference<BvhNode | null, true>;
|
|
1170
1170
|
left: PropertyDefinitionReference<BvhNode | null, true>;
|
|
1171
1171
|
right: PropertyDefinitionReference<BvhNode | null, true>;
|
|
1172
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1172
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1173
1173
|
min: typeof Vec3;
|
|
1174
1174
|
max: typeof Vec3;
|
|
1175
1175
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -1177,11 +1177,11 @@ export declare class BvhTree {
|
|
|
1177
1177
|
y?: number;
|
|
1178
1178
|
z?: number;
|
|
1179
1179
|
} | undefined>, true, typeof Vec3>;
|
|
1180
|
-
}
|
|
1180
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
1181
1181
|
height: number;
|
|
1182
1182
|
objects: PropertyDefinitionReferenceList<Body_2, {
|
|
1183
1183
|
pool: PoolClass<Body_2>;
|
|
1184
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1184
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1185
1185
|
type: PropertyDefinition_2<BodyType, true>;
|
|
1186
1186
|
position: typeof Vec3;
|
|
1187
1187
|
orientation: Quat;
|
|
@@ -1192,7 +1192,7 @@ export declare class BvhTree {
|
|
|
1192
1192
|
y?: number;
|
|
1193
1193
|
z?: number;
|
|
1194
1194
|
} | undefined>, true, typeof Vec3>;
|
|
1195
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1195
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1196
1196
|
min: typeof Vec3;
|
|
1197
1197
|
max: typeof Vec3;
|
|
1198
1198
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -1200,8 +1200,8 @@ export declare class BvhTree {
|
|
|
1200
1200
|
y?: number;
|
|
1201
1201
|
z?: number;
|
|
1202
1202
|
} | undefined>, true, typeof Vec3>;
|
|
1203
|
-
}
|
|
1204
|
-
computedExpandedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1203
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
1204
|
+
computedExpandedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1205
1205
|
min: typeof Vec3;
|
|
1206
1206
|
max: typeof Vec3;
|
|
1207
1207
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -1209,7 +1209,7 @@ export declare class BvhTree {
|
|
|
1209
1209
|
y?: number;
|
|
1210
1210
|
z?: number;
|
|
1211
1211
|
} | undefined>, true, typeof Vec3>;
|
|
1212
|
-
}
|
|
1212
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
1213
1213
|
previousPosition: PropertyDefinition_2<NoInfer<number[] | {
|
|
1214
1214
|
x?: number;
|
|
1215
1215
|
y?: number;
|
|
@@ -1230,7 +1230,7 @@ export declare class BvhTree {
|
|
|
1230
1230
|
mass: number;
|
|
1231
1231
|
density: number;
|
|
1232
1232
|
inverseMass: PropertyDefinitionNumber<true>;
|
|
1233
|
-
computedLocalInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1233
|
+
computedLocalInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1234
1234
|
e0: number;
|
|
1235
1235
|
e1: number;
|
|
1236
1236
|
e2: number;
|
|
@@ -1240,8 +1240,8 @@ export declare class BvhTree {
|
|
|
1240
1240
|
e6: number;
|
|
1241
1241
|
e7: number;
|
|
1242
1242
|
e8: number;
|
|
1243
|
-
}
|
|
1244
|
-
computedWorldInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1243
|
+
}>> | undefined>, true, Mat3>;
|
|
1244
|
+
computedWorldInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1245
1245
|
e0: number;
|
|
1246
1246
|
e1: number;
|
|
1247
1247
|
e2: number;
|
|
@@ -1251,7 +1251,7 @@ export declare class BvhTree {
|
|
|
1251
1251
|
e6: number;
|
|
1252
1252
|
e7: number;
|
|
1253
1253
|
e8: number;
|
|
1254
|
-
}
|
|
1254
|
+
}>> | undefined>, true, Mat3>;
|
|
1255
1255
|
colliderType: PropertyDefinition_2<ColliderType, true>;
|
|
1256
1256
|
gravityScale: number;
|
|
1257
1257
|
linearForces: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -1283,13 +1283,13 @@ export declare class BvhTree {
|
|
|
1283
1283
|
angularDamping: number;
|
|
1284
1284
|
firstPotentialConstraintPairEdge: PropertyDefinitionReference<ConstraintPairEdge | null, true>;
|
|
1285
1285
|
visitGeneration: PropertyDefinitionNumber<true>;
|
|
1286
|
-
}
|
|
1286
|
+
}>> & {
|
|
1287
1287
|
shape: Shape;
|
|
1288
1288
|
world?: World | null;
|
|
1289
1289
|
})[] | undefined;
|
|
1290
1290
|
maxLength?: number;
|
|
1291
1291
|
}>;
|
|
1292
|
-
}
|
|
1292
|
+
}>> | undefined, BvhNode>;
|
|
1293
1293
|
destroyBvhNode(node: WithPool<BvhNode>): void;
|
|
1294
1294
|
insert(object: WithPool<Body_2>): boolean;
|
|
1295
1295
|
remove(object: WithPool<Body_2>, shouldRemoveFromDirtyObjects?: boolean): boolean | undefined;
|
|
@@ -1334,7 +1334,7 @@ y?: number;
|
|
|
1334
1334
|
z?: number;
|
|
1335
1335
|
} | undefined>, true, typeof Vec3>;
|
|
1336
1336
|
computedVolume: PropertyDefinitionNumber<true>;
|
|
1337
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1337
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1338
1338
|
min: typeof Vec3;
|
|
1339
1339
|
max: typeof Vec3;
|
|
1340
1340
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -1342,26 +1342,26 @@ x?: number;
|
|
|
1342
1342
|
y?: number;
|
|
1343
1343
|
z?: number;
|
|
1344
1344
|
} | undefined>, true, typeof Vec3>;
|
|
1345
|
-
}
|
|
1345
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
1346
1346
|
radius: number;
|
|
1347
1347
|
height: number;
|
|
1348
1348
|
copyForDiff: PropertyDefinitionReference<Capsule | null, true>;
|
|
1349
|
-
capsuleNoConvex: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1349
|
+
capsuleNoConvex: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1350
1350
|
halfHeightOfCylinder: typeof Vec3;
|
|
1351
1351
|
convexRadius: number;
|
|
1352
|
-
}
|
|
1353
|
-
capsuleWithConvex: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1352
|
+
}>> | undefined>, true, typeof CapsuleNoConvex>;
|
|
1353
|
+
capsuleWithConvex: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1354
1354
|
halfHeightOfCylinder: typeof Vec3;
|
|
1355
1355
|
radius: number;
|
|
1356
|
-
}
|
|
1357
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1356
|
+
}>> | undefined>, true, typeof CapsuleWithConvex>;
|
|
1357
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1358
1358
|
computedCenterOfMass: PropertyDefinition_2<NoInfer<number[] | {
|
|
1359
1359
|
x?: number;
|
|
1360
1360
|
y?: number;
|
|
1361
1361
|
z?: number;
|
|
1362
1362
|
} | undefined>, true, typeof Vec3>;
|
|
1363
1363
|
computedVolume: PropertyDefinitionNumber<true>;
|
|
1364
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1364
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1365
1365
|
min: typeof Vec3;
|
|
1366
1366
|
max: typeof Vec3;
|
|
1367
1367
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -1369,19 +1369,19 @@ x?: number;
|
|
|
1369
1369
|
y?: number;
|
|
1370
1370
|
z?: number;
|
|
1371
1371
|
} | undefined>, true, typeof Vec3>;
|
|
1372
|
-
}
|
|
1372
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
1373
1373
|
radius: number;
|
|
1374
1374
|
height: number;
|
|
1375
1375
|
copyForDiff: PropertyDefinitionReference<Capsule | null, true>;
|
|
1376
|
-
capsuleNoConvex: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1376
|
+
capsuleNoConvex: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1377
1377
|
halfHeightOfCylinder: typeof Vec3;
|
|
1378
1378
|
convexRadius: number;
|
|
1379
|
-
}
|
|
1380
|
-
capsuleWithConvex: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1379
|
+
}>> | undefined>, true, typeof CapsuleNoConvex>;
|
|
1380
|
+
capsuleWithConvex: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1381
1381
|
halfHeightOfCylinder: typeof Vec3;
|
|
1382
1382
|
radius: number;
|
|
1383
|
-
}
|
|
1384
|
-
}
|
|
1383
|
+
}>> | undefined>, true, typeof CapsuleWithConvex>;
|
|
1384
|
+
}>> | undefined>;
|
|
1385
1385
|
|
|
1386
1386
|
declare class CapsuleNoConvex extends CapsuleNoConvex_base {
|
|
1387
1387
|
computeSupport(out: Vec3, direction: Vec3): void;
|
|
@@ -1392,10 +1392,10 @@ declare class CapsuleNoConvex extends CapsuleNoConvex_base {
|
|
|
1392
1392
|
declare const CapsuleNoConvex_base: Monomorph<CapsuleNoConvex, ConvertedInputPropertyDefinitionMap< {
|
|
1393
1393
|
halfHeightOfCylinder: typeof Vec3;
|
|
1394
1394
|
convexRadius: number;
|
|
1395
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1395
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1396
1396
|
halfHeightOfCylinder: typeof Vec3;
|
|
1397
1397
|
convexRadius: number;
|
|
1398
|
-
}
|
|
1398
|
+
}>> | undefined>;
|
|
1399
1399
|
|
|
1400
1400
|
declare class CapsuleWithConvex extends CapsuleWithConvex_base {
|
|
1401
1401
|
computeSupport(out: Vec3, direction: Vec3): void;
|
|
@@ -1406,10 +1406,10 @@ declare class CapsuleWithConvex extends CapsuleWithConvex_base {
|
|
|
1406
1406
|
declare const CapsuleWithConvex_base: Monomorph<CapsuleWithConvex, ConvertedInputPropertyDefinitionMap< {
|
|
1407
1407
|
halfHeightOfCylinder: typeof Vec3;
|
|
1408
1408
|
radius: number;
|
|
1409
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1409
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1410
1410
|
halfHeightOfCylinder: typeof Vec3;
|
|
1411
1411
|
radius: number;
|
|
1412
|
-
}
|
|
1412
|
+
}>> | undefined>;
|
|
1413
1413
|
|
|
1414
1414
|
export declare class CastCollector {
|
|
1415
1415
|
static initialEarlyOutFraction: number;
|
|
@@ -1458,7 +1458,7 @@ faceA: typeof Face;
|
|
|
1458
1458
|
faceB: typeof Face;
|
|
1459
1459
|
fraction: number;
|
|
1460
1460
|
isBackFaceHit: PropertyDefinitionBoolean<true>;
|
|
1461
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1461
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1462
1462
|
status: PropertyDefinition_2<CastStatus, true>;
|
|
1463
1463
|
hasContact: PropertyDefinitionBoolean<true>;
|
|
1464
1464
|
penetration: number;
|
|
@@ -1479,7 +1479,7 @@ faceA: typeof Face;
|
|
|
1479
1479
|
faceB: typeof Face;
|
|
1480
1480
|
fraction: number;
|
|
1481
1481
|
isBackFaceHit: PropertyDefinitionBoolean<true>;
|
|
1482
|
-
}
|
|
1482
|
+
}>> | undefined>;
|
|
1483
1483
|
|
|
1484
1484
|
export declare interface CastSettings extends CollisionSettings {
|
|
1485
1485
|
backFaceModeConvex: BackFaceMode;
|
|
@@ -1618,7 +1618,7 @@ subShapeIdB: number;
|
|
|
1618
1618
|
isBackFace: PropertyDefinitionBoolean<true>;
|
|
1619
1619
|
faceA: typeof Face;
|
|
1620
1620
|
faceB: typeof Face;
|
|
1621
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1621
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1622
1622
|
status: PropertyDefinition_2<CollisionStatus, true>;
|
|
1623
1623
|
hasContact: PropertyDefinitionBoolean<true>;
|
|
1624
1624
|
penetration: number;
|
|
@@ -1637,7 +1637,7 @@ subShapeIdB: number;
|
|
|
1637
1637
|
isBackFace: PropertyDefinitionBoolean<true>;
|
|
1638
1638
|
faceA: typeof Face;
|
|
1639
1639
|
faceB: typeof Face;
|
|
1640
|
-
}
|
|
1640
|
+
}>> | undefined>;
|
|
1641
1641
|
|
|
1642
1642
|
export declare interface CollisionSettings {
|
|
1643
1643
|
maxSeparation: number;
|
|
@@ -1670,7 +1670,7 @@ export declare class CompoundShape extends CompoundShape_base implements ShapeCo
|
|
|
1670
1670
|
shape4: PropertyDefinitionReference<Cylinder | null, true>;
|
|
1671
1671
|
shape6: PropertyDefinitionReference<Sphere | null, true>;
|
|
1672
1672
|
transform: typeof BasicTransform;
|
|
1673
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1673
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1674
1674
|
shapeType: PropertyDefinition_2<ShapeType, true>;
|
|
1675
1675
|
shape0: PropertyDefinitionReference<Box | null, true>;
|
|
1676
1676
|
shape1: PropertyDefinitionReference<Capsule | null, true>;
|
|
@@ -1678,7 +1678,7 @@ export declare class CompoundShape extends CompoundShape_base implements ShapeCo
|
|
|
1678
1678
|
shape4: PropertyDefinitionReference<Cylinder | null, true>;
|
|
1679
1679
|
shape6: PropertyDefinitionReference<Sphere | null, true>;
|
|
1680
1680
|
transform: typeof BasicTransform;
|
|
1681
|
-
}
|
|
1681
|
+
}>> | undefined, TransformedShape>;
|
|
1682
1682
|
computeSupportingFace(out: Face, subShapeID: number, direction: Vec3, scale: number, transformCompoundToWorld: Mat4): void;
|
|
1683
1683
|
computeInertiaTensor(out: Mat3, totalMass: number): void;
|
|
1684
1684
|
computeInverseInertiaTensor(out: Mat3, mass: number): void;
|
|
@@ -1696,7 +1696,7 @@ y?: number;
|
|
|
1696
1696
|
z?: number;
|
|
1697
1697
|
} | undefined>, true, typeof Vec3>;
|
|
1698
1698
|
computedVolume: PropertyDefinitionNumber<true>;
|
|
1699
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1699
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1700
1700
|
min: typeof Vec3;
|
|
1701
1701
|
max: typeof Vec3;
|
|
1702
1702
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -1704,11 +1704,11 @@ x?: number;
|
|
|
1704
1704
|
y?: number;
|
|
1705
1705
|
z?: number;
|
|
1706
1706
|
} | undefined>, true, typeof Vec3>;
|
|
1707
|
-
}
|
|
1707
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
1708
1708
|
copyForDiff: PropertyDefinitionReference<CompoundShape | null, true>;
|
|
1709
1709
|
shapes: PropertyDefinitionReferenceList<TransformedShape, {
|
|
1710
1710
|
pool: PoolClass<TransformedShape>;
|
|
1711
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1711
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1712
1712
|
shapeType: PropertyDefinition_2<ShapeType, true>;
|
|
1713
1713
|
shape0: PropertyDefinitionReference<Box | null, true>;
|
|
1714
1714
|
shape1: PropertyDefinitionReference<Capsule | null, true>;
|
|
@@ -1716,17 +1716,17 @@ shape3: PropertyDefinitionReference<ConvexHull | null, true>;
|
|
|
1716
1716
|
shape4: PropertyDefinitionReference<Cylinder | null, true>;
|
|
1717
1717
|
shape6: PropertyDefinitionReference<Sphere | null, true>;
|
|
1718
1718
|
transform: typeof BasicTransform;
|
|
1719
|
-
}
|
|
1719
|
+
}>> | undefined)[] | undefined;
|
|
1720
1720
|
maxLength?: number;
|
|
1721
1721
|
}>;
|
|
1722
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1722
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1723
1723
|
computedCenterOfMass: PropertyDefinition_2<NoInfer<number[] | {
|
|
1724
1724
|
x?: number;
|
|
1725
1725
|
y?: number;
|
|
1726
1726
|
z?: number;
|
|
1727
1727
|
} | undefined>, true, typeof Vec3>;
|
|
1728
1728
|
computedVolume: PropertyDefinitionNumber<true>;
|
|
1729
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1729
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1730
1730
|
min: typeof Vec3;
|
|
1731
1731
|
max: typeof Vec3;
|
|
1732
1732
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -1734,11 +1734,11 @@ x?: number;
|
|
|
1734
1734
|
y?: number;
|
|
1735
1735
|
z?: number;
|
|
1736
1736
|
} | undefined>, true, typeof Vec3>;
|
|
1737
|
-
}
|
|
1737
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
1738
1738
|
copyForDiff: PropertyDefinitionReference<CompoundShape | null, true>;
|
|
1739
1739
|
shapes: PropertyDefinitionReferenceList<TransformedShape, {
|
|
1740
1740
|
pool: PoolClass<TransformedShape>;
|
|
1741
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1741
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1742
1742
|
shapeType: PropertyDefinition_2<ShapeType, true>;
|
|
1743
1743
|
shape0: PropertyDefinitionReference<Box | null, true>;
|
|
1744
1744
|
shape1: PropertyDefinitionReference<Capsule | null, true>;
|
|
@@ -1746,10 +1746,10 @@ shape3: PropertyDefinitionReference<ConvexHull | null, true>;
|
|
|
1746
1746
|
shape4: PropertyDefinitionReference<Cylinder | null, true>;
|
|
1747
1747
|
shape6: PropertyDefinitionReference<Sphere | null, true>;
|
|
1748
1748
|
transform: typeof BasicTransform;
|
|
1749
|
-
}
|
|
1749
|
+
}>> | undefined)[] | undefined;
|
|
1750
1750
|
maxLength?: number;
|
|
1751
1751
|
}>;
|
|
1752
|
-
}
|
|
1752
|
+
}>> | undefined>;
|
|
1753
1753
|
|
|
1754
1754
|
export declare type Constraint = PointConstraint | DistanceConstraint | FixedConstraint | HingeConstraint;
|
|
1755
1755
|
|
|
@@ -1784,7 +1784,7 @@ velocityBaumgarte: number;
|
|
|
1784
1784
|
* Value used to scale the strength of the constraint. recommend to tune in the interval of [0, 1], with 0 being no correction, 1 being full correction
|
|
1785
1785
|
*/
|
|
1786
1786
|
strength: number;
|
|
1787
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1787
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1788
1788
|
/**
|
|
1789
1789
|
* Value used to scale the amount of position error to correct per solve iteration. Expected to be in the interval [0, 1]
|
|
1790
1790
|
*/
|
|
@@ -1797,7 +1797,7 @@ velocityBaumgarte: number;
|
|
|
1797
1797
|
* Value used to scale the strength of the constraint. recommend to tune in the interval of [0, 1], with 0 being no correction, 1 being full correction
|
|
1798
1798
|
*/
|
|
1799
1799
|
strength: number;
|
|
1800
|
-
}
|
|
1800
|
+
}>> | undefined>;
|
|
1801
1801
|
|
|
1802
1802
|
declare class ConstraintPairEdge extends ConstraintPairEdge_base {
|
|
1803
1803
|
}
|
|
@@ -1806,11 +1806,11 @@ declare const ConstraintPairEdge_base: Monomorph<ConstraintPairEdge, ConvertedIn
|
|
|
1806
1806
|
node: PropertyDefinitionReference<ConstraintPairNode | null, true>;
|
|
1807
1807
|
next: PropertyDefinitionReference<ConstraintPairEdge | null, true>;
|
|
1808
1808
|
prev: PropertyDefinitionReference<ConstraintPairEdge | null, true>;
|
|
1809
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1809
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1810
1810
|
node: PropertyDefinitionReference<ConstraintPairNode | null, true>;
|
|
1811
1811
|
next: PropertyDefinitionReference<ConstraintPairEdge | null, true>;
|
|
1812
1812
|
prev: PropertyDefinitionReference<ConstraintPairEdge | null, true>;
|
|
1813
|
-
}
|
|
1813
|
+
}>> | undefined>;
|
|
1814
1814
|
|
|
1815
1815
|
declare class ConstraintPairNode extends ConstraintPairNode_base {
|
|
1816
1816
|
constraints: [Constraint | null, Constraint | null, Constraint | null, Constraint | null];
|
|
@@ -1829,7 +1829,7 @@ constraintPoint: PropertyDefinitionReference<PointConstraint | null, true>;
|
|
|
1829
1829
|
constraintFixed: PropertyDefinitionReference<FixedConstraint | null, true>;
|
|
1830
1830
|
constraintDistance: PropertyDefinitionReference<DistanceConstraint | null, true>;
|
|
1831
1831
|
constraintHinge: PropertyDefinitionReference<HingeConstraint | null, true>;
|
|
1832
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1832
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1833
1833
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
1834
1834
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
1835
1835
|
edgeA: PropertyDefinitionReference<ConstraintPairEdge | null, true>;
|
|
@@ -1839,7 +1839,7 @@ constraintPoint: PropertyDefinitionReference<PointConstraint | null, true>;
|
|
|
1839
1839
|
constraintFixed: PropertyDefinitionReference<FixedConstraint | null, true>;
|
|
1840
1840
|
constraintDistance: PropertyDefinitionReference<DistanceConstraint | null, true>;
|
|
1841
1841
|
constraintHinge: PropertyDefinitionReference<HingeConstraint | null, true>;
|
|
1842
|
-
}
|
|
1842
|
+
}>> | undefined>;
|
|
1843
1843
|
|
|
1844
1844
|
declare class ConstraintPairsModule {
|
|
1845
1845
|
nodes: PoolClass<ConstraintPairNode>;
|
|
@@ -1867,7 +1867,7 @@ declare class ConstraintPairsModule {
|
|
|
1867
1867
|
constraintFixed: PropertyDefinitionReference<FixedConstraint | null, true>;
|
|
1868
1868
|
constraintDistance: PropertyDefinitionReference<DistanceConstraint | null, true>;
|
|
1869
1869
|
constraintHinge: PropertyDefinitionReference<HingeConstraint | null, true>;
|
|
1870
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1870
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1871
1871
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
1872
1872
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
1873
1873
|
edgeA: PropertyDefinitionReference<ConstraintPairEdge | null, true>;
|
|
@@ -1877,7 +1877,7 @@ declare class ConstraintPairsModule {
|
|
|
1877
1877
|
constraintFixed: PropertyDefinitionReference<FixedConstraint | null, true>;
|
|
1878
1878
|
constraintDistance: PropertyDefinitionReference<DistanceConstraint | null, true>;
|
|
1879
1879
|
constraintHinge: PropertyDefinitionReference<HingeConstraint | null, true>;
|
|
1880
|
-
}
|
|
1880
|
+
}>> | undefined, ConstraintPairNode>;
|
|
1881
1881
|
/**
|
|
1882
1882
|
* destroys a body pair. O(k) where k is the number of pairs involving bodyA
|
|
1883
1883
|
*/
|
|
@@ -1933,13 +1933,13 @@ tangentConstraint: typeof DirectionalConstraint;
|
|
|
1933
1933
|
bitangentConstraint: typeof DirectionalConstraint;
|
|
1934
1934
|
localPositionA: typeof Vec3;
|
|
1935
1935
|
localPositionB: typeof Vec3;
|
|
1936
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
1936
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
1937
1937
|
normalConstraint: typeof DirectionalConstraint;
|
|
1938
1938
|
tangentConstraint: typeof DirectionalConstraint;
|
|
1939
1939
|
bitangentConstraint: typeof DirectionalConstraint;
|
|
1940
1940
|
localPositionA: typeof Vec3;
|
|
1941
1941
|
localPositionB: typeof Vec3;
|
|
1942
|
-
}
|
|
1942
|
+
}>> | undefined>;
|
|
1943
1943
|
|
|
1944
1944
|
declare class ContactConstraintModule {
|
|
1945
1945
|
world: World;
|
|
@@ -2022,7 +2022,7 @@ z?: number;
|
|
|
2022
2022
|
} | undefined)[] | undefined;
|
|
2023
2023
|
maxLength?: number;
|
|
2024
2024
|
}>;
|
|
2025
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2025
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2026
2026
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
2027
2027
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
2028
2028
|
subShapeIdA: number;
|
|
@@ -2060,7 +2060,7 @@ z?: number;
|
|
|
2060
2060
|
} | undefined)[] | undefined;
|
|
2061
2061
|
maxLength?: number;
|
|
2062
2062
|
}>;
|
|
2063
|
-
}
|
|
2063
|
+
}>> | undefined>;
|
|
2064
2064
|
|
|
2065
2065
|
declare class ContactManifoldModule {
|
|
2066
2066
|
manifoldCaches: [ManifoldCache, ManifoldCache];
|
|
@@ -2098,13 +2098,13 @@ bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
|
2098
2098
|
firstContactManifold: PropertyDefinitionReference<ContactManifold | null, true>;
|
|
2099
2099
|
translationAB: typeof Vec3;
|
|
2100
2100
|
rotationAB: typeof Quat;
|
|
2101
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2101
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2102
2102
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
2103
2103
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
2104
2104
|
firstContactManifold: PropertyDefinitionReference<ContactManifold | null, true>;
|
|
2105
2105
|
translationAB: typeof Vec3;
|
|
2106
2106
|
rotationAB: typeof Quat;
|
|
2107
|
-
}
|
|
2107
|
+
}>> | undefined>;
|
|
2108
2108
|
|
|
2109
2109
|
export declare class ConvexHull extends ConvexHull_base implements ConvexShapeInterface {
|
|
2110
2110
|
world: World | null;
|
|
@@ -2129,7 +2129,7 @@ y?: number;
|
|
|
2129
2129
|
z?: number;
|
|
2130
2130
|
} | undefined>, true, typeof Vec3>;
|
|
2131
2131
|
computedVolume: PropertyDefinitionNumber<true>;
|
|
2132
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2132
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2133
2133
|
min: typeof Vec3;
|
|
2134
2134
|
max: typeof Vec3;
|
|
2135
2135
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -2137,10 +2137,10 @@ x?: number;
|
|
|
2137
2137
|
y?: number;
|
|
2138
2138
|
z?: number;
|
|
2139
2139
|
} | undefined>, true, typeof Vec3>;
|
|
2140
|
-
}
|
|
2140
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
2141
2141
|
convexRadius: number;
|
|
2142
2142
|
innerRadius: PropertyDefinitionNumber<true>;
|
|
2143
|
-
inertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2143
|
+
inertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2144
2144
|
e0: number;
|
|
2145
2145
|
e1: number;
|
|
2146
2146
|
e2: number;
|
|
@@ -2150,37 +2150,37 @@ e5: number;
|
|
|
2150
2150
|
e6: number;
|
|
2151
2151
|
e7: number;
|
|
2152
2152
|
e8: number;
|
|
2153
|
-
}
|
|
2153
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
2154
2154
|
points: PropertyDefinitionReferenceList<ConvexHullPoint, {
|
|
2155
2155
|
pool: PoolClass<ConvexHullPoint>;
|
|
2156
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2156
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2157
2157
|
position: typeof Vec3;
|
|
2158
2158
|
numFaces: number;
|
|
2159
2159
|
faces: typeof Vec3;
|
|
2160
|
-
}
|
|
2160
|
+
}>> | undefined)[] | undefined;
|
|
2161
2161
|
maxLength?: number;
|
|
2162
2162
|
}>;
|
|
2163
2163
|
faces: PropertyDefinitionReferenceList<ConvexHullFace, {
|
|
2164
2164
|
pool: PoolClass<ConvexHullFace>;
|
|
2165
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2165
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2166
2166
|
firstVertex: number;
|
|
2167
2167
|
numVertices: number;
|
|
2168
|
-
}
|
|
2168
|
+
}>> | undefined)[] | undefined;
|
|
2169
2169
|
maxLength?: number;
|
|
2170
2170
|
}>;
|
|
2171
2171
|
planes: PropertyDefinitionReferenceList<Plane, {
|
|
2172
2172
|
pool: PoolClass<Plane>;
|
|
2173
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2173
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2174
2174
|
normal: typeof Vec3;
|
|
2175
2175
|
constant: number;
|
|
2176
|
-
}
|
|
2176
|
+
}>> | undefined)[] | undefined;
|
|
2177
2177
|
maxLength?: number;
|
|
2178
2178
|
}>;
|
|
2179
2179
|
vertexIdx: PropertyDefinitionReferenceList<NumberValue, {
|
|
2180
2180
|
pool: PoolClass<NumberValue>;
|
|
2181
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2181
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2182
2182
|
value: number;
|
|
2183
|
-
}
|
|
2183
|
+
}>> | undefined)[] | undefined;
|
|
2184
2184
|
maxLength?: number;
|
|
2185
2185
|
}>;
|
|
2186
2186
|
shapeNoConvexPoints: PropertyDefinitionReferenceList<Vec3, {
|
|
@@ -2198,14 +2198,14 @@ y?: number;
|
|
|
2198
2198
|
z?: number;
|
|
2199
2199
|
} | undefined>, true, typeof Vec3>;
|
|
2200
2200
|
copyForDiff: PropertyDefinitionReference<ConvexHull | null, true>;
|
|
2201
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2201
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2202
2202
|
computedCenterOfMass: PropertyDefinition_2<NoInfer<number[] | {
|
|
2203
2203
|
x?: number;
|
|
2204
2204
|
y?: number;
|
|
2205
2205
|
z?: number;
|
|
2206
2206
|
} | undefined>, true, typeof Vec3>;
|
|
2207
2207
|
computedVolume: PropertyDefinitionNumber<true>;
|
|
2208
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2208
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2209
2209
|
min: typeof Vec3;
|
|
2210
2210
|
max: typeof Vec3;
|
|
2211
2211
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -2213,10 +2213,10 @@ x?: number;
|
|
|
2213
2213
|
y?: number;
|
|
2214
2214
|
z?: number;
|
|
2215
2215
|
} | undefined>, true, typeof Vec3>;
|
|
2216
|
-
}
|
|
2216
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
2217
2217
|
convexRadius: number;
|
|
2218
2218
|
innerRadius: PropertyDefinitionNumber<true>;
|
|
2219
|
-
inertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2219
|
+
inertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2220
2220
|
e0: number;
|
|
2221
2221
|
e1: number;
|
|
2222
2222
|
e2: number;
|
|
@@ -2226,37 +2226,37 @@ e5: number;
|
|
|
2226
2226
|
e6: number;
|
|
2227
2227
|
e7: number;
|
|
2228
2228
|
e8: number;
|
|
2229
|
-
}
|
|
2229
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
2230
2230
|
points: PropertyDefinitionReferenceList<ConvexHullPoint, {
|
|
2231
2231
|
pool: PoolClass<ConvexHullPoint>;
|
|
2232
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2232
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2233
2233
|
position: typeof Vec3;
|
|
2234
2234
|
numFaces: number;
|
|
2235
2235
|
faces: typeof Vec3;
|
|
2236
|
-
}
|
|
2236
|
+
}>> | undefined)[] | undefined;
|
|
2237
2237
|
maxLength?: number;
|
|
2238
2238
|
}>;
|
|
2239
2239
|
faces: PropertyDefinitionReferenceList<ConvexHullFace, {
|
|
2240
2240
|
pool: PoolClass<ConvexHullFace>;
|
|
2241
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2241
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2242
2242
|
firstVertex: number;
|
|
2243
2243
|
numVertices: number;
|
|
2244
|
-
}
|
|
2244
|
+
}>> | undefined)[] | undefined;
|
|
2245
2245
|
maxLength?: number;
|
|
2246
2246
|
}>;
|
|
2247
2247
|
planes: PropertyDefinitionReferenceList<Plane, {
|
|
2248
2248
|
pool: PoolClass<Plane>;
|
|
2249
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2249
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2250
2250
|
normal: typeof Vec3;
|
|
2251
2251
|
constant: number;
|
|
2252
|
-
}
|
|
2252
|
+
}>> | undefined)[] | undefined;
|
|
2253
2253
|
maxLength?: number;
|
|
2254
2254
|
}>;
|
|
2255
2255
|
vertexIdx: PropertyDefinitionReferenceList<NumberValue, {
|
|
2256
2256
|
pool: PoolClass<NumberValue>;
|
|
2257
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2257
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2258
2258
|
value: number;
|
|
2259
|
-
}
|
|
2259
|
+
}>> | undefined)[] | undefined;
|
|
2260
2260
|
maxLength?: number;
|
|
2261
2261
|
}>;
|
|
2262
2262
|
shapeNoConvexPoints: PropertyDefinitionReferenceList<Vec3, {
|
|
@@ -2274,7 +2274,7 @@ y?: number;
|
|
|
2274
2274
|
z?: number;
|
|
2275
2275
|
} | undefined>, true, typeof Vec3>;
|
|
2276
2276
|
copyForDiff: PropertyDefinitionReference<ConvexHull | null, true>;
|
|
2277
|
-
}
|
|
2277
|
+
}>> | undefined>;
|
|
2278
2278
|
|
|
2279
2279
|
declare class ConvexHullBuilder {
|
|
2280
2280
|
buildFromPoints(vertices: Float32Array, convexRadius?: number, hullTolerance?: number, maxPoints?: number, maxVertexIndices?: number, convexHullPool?: typeof ConvexHull.Pool, facePool?: typeof ConvexHullFace.Pool, numberValuePool?: typeof NumberValue.Pool, planePool?: typeof Plane.Pool, pointPool?: typeof ConvexHullPoint.Pool, shapeNoConvexPointsPool?: typeof Vec3.Pool): ConvexHull;
|
|
@@ -2290,10 +2290,10 @@ declare class ConvexHullFace extends ConvexHullFace_base {
|
|
|
2290
2290
|
declare const ConvexHullFace_base: Monomorph<ConvexHullFace, ConvertedInputPropertyDefinitionMap< {
|
|
2291
2291
|
firstVertex: number;
|
|
2292
2292
|
numVertices: number;
|
|
2293
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2293
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2294
2294
|
firstVertex: number;
|
|
2295
2295
|
numVertices: number;
|
|
2296
|
-
}
|
|
2296
|
+
}>> | undefined>;
|
|
2297
2297
|
|
|
2298
2298
|
declare class ConvexHullNoConvex implements SupportShapeWithConvexRadius {
|
|
2299
2299
|
shape: ConvexHull;
|
|
@@ -2324,11 +2324,11 @@ declare const ConvexHullPoint_base: Monomorph<ConvexHullPoint, ConvertedInputPro
|
|
|
2324
2324
|
position: typeof Vec3;
|
|
2325
2325
|
numFaces: number;
|
|
2326
2326
|
faces: typeof Vec3;
|
|
2327
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2327
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2328
2328
|
position: typeof Vec3;
|
|
2329
2329
|
numFaces: number;
|
|
2330
2330
|
faces: typeof Vec3;
|
|
2331
|
-
}
|
|
2331
|
+
}>> | undefined>;
|
|
2332
2332
|
|
|
2333
2333
|
declare class ConvexHullWithConvex implements SupportShapeWithConvexRadius {
|
|
2334
2334
|
shape: ConvexHull;
|
|
@@ -2347,9 +2347,9 @@ export declare class ConvexRadiusObject extends ConvexRadiusObject_base {
|
|
|
2347
2347
|
|
|
2348
2348
|
declare const ConvexRadiusObject_base: Monomorph<ConvexRadiusObject, ConvertedInputPropertyDefinitionMap< {
|
|
2349
2349
|
radius: number;
|
|
2350
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2350
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2351
2351
|
radius: number;
|
|
2352
|
-
}
|
|
2352
|
+
}>> | undefined>;
|
|
2353
2353
|
|
|
2354
2354
|
export declare type ConvexShape = Box | Capsule | ConvexHull | Cylinder | Sphere;
|
|
2355
2355
|
|
|
@@ -2397,7 +2397,7 @@ y?: number;
|
|
|
2397
2397
|
z?: number;
|
|
2398
2398
|
} | undefined>, true, typeof Vec3>;
|
|
2399
2399
|
computedVolume: PropertyDefinitionNumber<true>;
|
|
2400
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2400
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2401
2401
|
min: typeof Vec3;
|
|
2402
2402
|
max: typeof Vec3;
|
|
2403
2403
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -2405,7 +2405,7 @@ x?: number;
|
|
|
2405
2405
|
y?: number;
|
|
2406
2406
|
z?: number;
|
|
2407
2407
|
} | undefined>, true, typeof Vec3>;
|
|
2408
|
-
}
|
|
2408
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
2409
2409
|
radius: number;
|
|
2410
2410
|
halfHeight: number;
|
|
2411
2411
|
convexRadius: number;
|
|
@@ -2414,20 +2414,20 @@ x?: number;
|
|
|
2414
2414
|
y?: number;
|
|
2415
2415
|
z?: number;
|
|
2416
2416
|
} | undefined>, true, typeof Vec3>;
|
|
2417
|
-
supportShape: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2417
|
+
supportShape: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2418
2418
|
halfHeight: number;
|
|
2419
2419
|
radius: number;
|
|
2420
2420
|
convexRadius: number;
|
|
2421
|
-
}
|
|
2421
|
+
}>> | undefined>, true, typeof CylinderSupportShape>;
|
|
2422
2422
|
copyForDiff: PropertyDefinitionReference<Cylinder | null, true>;
|
|
2423
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2423
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2424
2424
|
computedCenterOfMass: PropertyDefinition_2<NoInfer<number[] | {
|
|
2425
2425
|
x?: number;
|
|
2426
2426
|
y?: number;
|
|
2427
2427
|
z?: number;
|
|
2428
2428
|
} | undefined>, true, typeof Vec3>;
|
|
2429
2429
|
computedVolume: PropertyDefinitionNumber<true>;
|
|
2430
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2430
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2431
2431
|
min: typeof Vec3;
|
|
2432
2432
|
max: typeof Vec3;
|
|
2433
2433
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -2435,7 +2435,7 @@ x?: number;
|
|
|
2435
2435
|
y?: number;
|
|
2436
2436
|
z?: number;
|
|
2437
2437
|
} | undefined>, true, typeof Vec3>;
|
|
2438
|
-
}
|
|
2438
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
2439
2439
|
radius: number;
|
|
2440
2440
|
halfHeight: number;
|
|
2441
2441
|
convexRadius: number;
|
|
@@ -2444,13 +2444,13 @@ x?: number;
|
|
|
2444
2444
|
y?: number;
|
|
2445
2445
|
z?: number;
|
|
2446
2446
|
} | undefined>, true, typeof Vec3>;
|
|
2447
|
-
supportShape: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2447
|
+
supportShape: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2448
2448
|
halfHeight: number;
|
|
2449
2449
|
radius: number;
|
|
2450
2450
|
convexRadius: number;
|
|
2451
|
-
}
|
|
2451
|
+
}>> | undefined>, true, typeof CylinderSupportShape>;
|
|
2452
2452
|
copyForDiff: PropertyDefinitionReference<Cylinder | null, true>;
|
|
2453
|
-
}
|
|
2453
|
+
}>> | undefined>;
|
|
2454
2454
|
|
|
2455
2455
|
declare class CylinderSupportShape extends CylinderSupportShape_base {
|
|
2456
2456
|
getConvexRadius(): number;
|
|
@@ -2462,11 +2462,11 @@ declare const CylinderSupportShape_base: Monomorph<CylinderSupportShape, Convert
|
|
|
2462
2462
|
halfHeight: number;
|
|
2463
2463
|
radius: number;
|
|
2464
2464
|
convexRadius: number;
|
|
2465
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2465
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2466
2466
|
halfHeight: number;
|
|
2467
2467
|
radius: number;
|
|
2468
2468
|
convexRadius: number;
|
|
2469
|
-
}
|
|
2469
|
+
}>> | undefined>;
|
|
2470
2470
|
|
|
2471
2471
|
export declare function degreesToRadians(degrees: number): number;
|
|
2472
2472
|
|
|
@@ -2494,7 +2494,7 @@ effectiveMass: number;
|
|
|
2494
2494
|
bias: number;
|
|
2495
2495
|
softness: number;
|
|
2496
2496
|
totalLambda: number;
|
|
2497
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2497
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2498
2498
|
mR1PlusUxAxis: typeof Vec3;
|
|
2499
2499
|
mR2xAxis: typeof Vec3;
|
|
2500
2500
|
mInvI1_R1PlusUxAxis: typeof Vec3;
|
|
@@ -2503,7 +2503,7 @@ effectiveMass: number;
|
|
|
2503
2503
|
bias: number;
|
|
2504
2504
|
softness: number;
|
|
2505
2505
|
totalLambda: number;
|
|
2506
|
-
}
|
|
2506
|
+
}>> | undefined>;
|
|
2507
2507
|
|
|
2508
2508
|
export declare class DistanceConstraint extends DistanceConstraint_base implements ConstraintInterface {
|
|
2509
2509
|
type: ConstraintType.distanceConstraint;
|
|
@@ -2568,7 +2568,7 @@ bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
|
2568
2568
|
constraintPairNode: PropertyDefinitionReference<ConstraintPairNode | null, true>;
|
|
2569
2569
|
referenceFrame: PropertyDefinition_2<ReferenceFrame, true>;
|
|
2570
2570
|
isEnabled: PropertyDefinitionBoolean<true>;
|
|
2571
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2571
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2572
2572
|
positionA: PropertyDefinition_2<NoInfer<number[] | {
|
|
2573
2573
|
x?: number;
|
|
2574
2574
|
y?: number;
|
|
@@ -2615,7 +2615,7 @@ bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
|
2615
2615
|
constraintPairNode: PropertyDefinitionReference<ConstraintPairNode | null, true>;
|
|
2616
2616
|
referenceFrame: PropertyDefinition_2<ReferenceFrame, true>;
|
|
2617
2617
|
isEnabled: PropertyDefinitionBoolean<true>;
|
|
2618
|
-
}
|
|
2618
|
+
}>> | undefined>;
|
|
2619
2619
|
|
|
2620
2620
|
declare function doesNotHaveFlag(flag: number, value: number): boolean;
|
|
2621
2621
|
|
|
@@ -2628,11 +2628,11 @@ declare const Edge_base: Monomorph<Edge, ConvertedInputPropertyDefinitionMap<
|
|
|
2628
2628
|
neighbourTriangle: PropertyDefinitionReference<Triangle_2 | null, true>;
|
|
2629
2629
|
neighbourEdge: number;
|
|
2630
2630
|
startIndex: number;
|
|
2631
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2631
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2632
2632
|
neighbourTriangle: PropertyDefinitionReference<Triangle_2 | null, true>;
|
|
2633
2633
|
neighbourEdge: number;
|
|
2634
2634
|
startIndex: number;
|
|
2635
|
-
}
|
|
2635
|
+
}>> | undefined>;
|
|
2636
2636
|
|
|
2637
2637
|
declare class Edges extends StaticArray<Edge> {
|
|
2638
2638
|
pool: PoolClass<Edge>;
|
|
@@ -2693,12 +2693,12 @@ deltaLinearVelocityA: typeof Vec3;
|
|
|
2693
2693
|
deltaAngularVelocityA: typeof Vec3;
|
|
2694
2694
|
deltaLinearVelocityB: typeof Vec3;
|
|
2695
2695
|
deltaAngularVelocityB: typeof Vec3;
|
|
2696
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2696
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2697
2697
|
deltaLinearVelocityA: typeof Vec3;
|
|
2698
2698
|
deltaAngularVelocityA: typeof Vec3;
|
|
2699
2699
|
deltaLinearVelocityB: typeof Vec3;
|
|
2700
2700
|
deltaAngularVelocityB: typeof Vec3;
|
|
2701
|
-
}
|
|
2701
|
+
}>> | undefined>;
|
|
2702
2702
|
|
|
2703
2703
|
declare interface EstimateCollisionResponseSettings {
|
|
2704
2704
|
timeStepSizeSeconds: number;
|
|
@@ -2729,7 +2729,7 @@ z?: number;
|
|
|
2729
2729
|
} | undefined)[] | undefined;
|
|
2730
2730
|
maxLength?: number;
|
|
2731
2731
|
}>;
|
|
2732
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2732
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2733
2733
|
numVertices: number;
|
|
2734
2734
|
buffer: PropertyDefinitionReferenceList<Vec3, {
|
|
2735
2735
|
pool: PoolClass<Vec3>;
|
|
@@ -2740,7 +2740,7 @@ z?: number;
|
|
|
2740
2740
|
} | undefined)[] | undefined;
|
|
2741
2741
|
maxLength?: number;
|
|
2742
2742
|
}>;
|
|
2743
|
-
}
|
|
2743
|
+
}>> | undefined>;
|
|
2744
2744
|
|
|
2745
2745
|
export declare class FixedConstraint extends FixedConstraint_base implements ConstraintInterface {
|
|
2746
2746
|
type: ConstraintType.fixedConstraint;
|
|
@@ -2841,7 +2841,7 @@ bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
|
2841
2841
|
constraintPairNode: PropertyDefinitionReference<ConstraintPairNode | null, true>;
|
|
2842
2842
|
referenceFrame: PropertyDefinition_2<ReferenceFrame, true>;
|
|
2843
2843
|
isEnabled: PropertyDefinitionBoolean<true>;
|
|
2844
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2844
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2845
2845
|
positionA: PropertyDefinition_2<NoInfer<number[] | {
|
|
2846
2846
|
x?: number;
|
|
2847
2847
|
y?: number;
|
|
@@ -2925,7 +2925,7 @@ bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
|
2925
2925
|
constraintPairNode: PropertyDefinitionReference<ConstraintPairNode | null, true>;
|
|
2926
2926
|
referenceFrame: PropertyDefinition_2<ReferenceFrame, true>;
|
|
2927
2927
|
isEnabled: PropertyDefinitionBoolean<true>;
|
|
2928
|
-
}
|
|
2928
|
+
}>> | undefined>;
|
|
2929
2929
|
|
|
2930
2930
|
export declare class GjkCastShapeResult extends GjkCastShapeResult_base {
|
|
2931
2931
|
}
|
|
@@ -2936,13 +2936,13 @@ lambda: number;
|
|
|
2936
2936
|
separatingAxis: typeof Vec3;
|
|
2937
2937
|
pointA: typeof Vec3;
|
|
2938
2938
|
pointB: typeof Vec3;
|
|
2939
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2939
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2940
2940
|
isHitFound: boolean;
|
|
2941
2941
|
lambda: number;
|
|
2942
2942
|
separatingAxis: typeof Vec3;
|
|
2943
2943
|
pointA: typeof Vec3;
|
|
2944
2944
|
pointB: typeof Vec3;
|
|
2945
|
-
}
|
|
2945
|
+
}>> | undefined>;
|
|
2946
2946
|
|
|
2947
2947
|
declare class GjkClosestPoints extends GjkClosestPoints_base {
|
|
2948
2948
|
}
|
|
@@ -2952,12 +2952,12 @@ squaredDistance: number;
|
|
|
2952
2952
|
penetrationAxis: typeof Vec3;
|
|
2953
2953
|
pointA: typeof Vec3;
|
|
2954
2954
|
pointB: typeof Vec3;
|
|
2955
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
2955
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
2956
2956
|
squaredDistance: number;
|
|
2957
2957
|
penetrationAxis: typeof Vec3;
|
|
2958
2958
|
pointA: typeof Vec3;
|
|
2959
2959
|
pointB: typeof Vec3;
|
|
2960
|
-
}
|
|
2960
|
+
}>> | undefined>;
|
|
2961
2961
|
|
|
2962
2962
|
export declare class GjkModule {
|
|
2963
2963
|
numPoints: number;
|
|
@@ -3031,7 +3031,7 @@ y?: number;
|
|
|
3031
3031
|
z?: number;
|
|
3032
3032
|
} | undefined>, true, typeof Vec3>;
|
|
3033
3033
|
computedVolume: PropertyDefinitionNumber<true>;
|
|
3034
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3034
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3035
3035
|
min: typeof Vec3;
|
|
3036
3036
|
max: typeof Vec3;
|
|
3037
3037
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -3039,19 +3039,19 @@ x?: number;
|
|
|
3039
3039
|
y?: number;
|
|
3040
3040
|
z?: number;
|
|
3041
3041
|
} | undefined>, true, typeof Vec3>;
|
|
3042
|
-
}
|
|
3042
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
3043
3043
|
copyForDiff: PropertyDefinitionReference<HeightMap | null, true>;
|
|
3044
3044
|
subdivisionsCount: number;
|
|
3045
3045
|
scale: typeof Vec3;
|
|
3046
3046
|
positionOffset: typeof Vec3;
|
|
3047
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3047
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3048
3048
|
computedCenterOfMass: PropertyDefinition_2<NoInfer<number[] | {
|
|
3049
3049
|
x?: number;
|
|
3050
3050
|
y?: number;
|
|
3051
3051
|
z?: number;
|
|
3052
3052
|
} | undefined>, true, typeof Vec3>;
|
|
3053
3053
|
computedVolume: PropertyDefinitionNumber<true>;
|
|
3054
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3054
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3055
3055
|
min: typeof Vec3;
|
|
3056
3056
|
max: typeof Vec3;
|
|
3057
3057
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -3059,12 +3059,12 @@ x?: number;
|
|
|
3059
3059
|
y?: number;
|
|
3060
3060
|
z?: number;
|
|
3061
3061
|
} | undefined>, true, typeof Vec3>;
|
|
3062
|
-
}
|
|
3062
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
3063
3063
|
copyForDiff: PropertyDefinitionReference<HeightMap | null, true>;
|
|
3064
3064
|
subdivisionsCount: number;
|
|
3065
3065
|
scale: typeof Vec3;
|
|
3066
3066
|
positionOffset: typeof Vec3;
|
|
3067
|
-
}
|
|
3067
|
+
}>> | undefined>;
|
|
3068
3068
|
|
|
3069
3069
|
declare class HeightMapBuilder {
|
|
3070
3070
|
buildHeightMapQuadtree(heightMap: HeightMap): void;
|
|
@@ -3093,11 +3093,11 @@ declare class HingeComponent extends HingeComponent_base {
|
|
|
3093
3093
|
declare const HingeComponent_base: Monomorph<HingeComponent, ConvertedInputPropertyDefinitionMap< {
|
|
3094
3094
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
3095
3095
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
3096
|
-
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3096
|
+
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3097
3097
|
positionBaumgarte: number;
|
|
3098
3098
|
velocityBaumgarte: number;
|
|
3099
3099
|
strength: number;
|
|
3100
|
-
}
|
|
3100
|
+
}>> | undefined>, true, typeof ConstraintOptions>;
|
|
3101
3101
|
axisA: PropertyDefinition_2<NoInfer<number[] | {
|
|
3102
3102
|
x?: number;
|
|
3103
3103
|
y?: number;
|
|
@@ -3127,7 +3127,7 @@ effectiveMass00: PropertyDefinitionNumber<true>;
|
|
|
3127
3127
|
effectiveMass01: PropertyDefinitionNumber<true>;
|
|
3128
3128
|
effectiveMass10: PropertyDefinitionNumber<true>;
|
|
3129
3129
|
effectiveMass11: PropertyDefinitionNumber<true>;
|
|
3130
|
-
inverseInertiaA: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3130
|
+
inverseInertiaA: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3131
3131
|
e0: number;
|
|
3132
3132
|
e1: number;
|
|
3133
3133
|
e2: number;
|
|
@@ -3137,8 +3137,8 @@ e5: number;
|
|
|
3137
3137
|
e6: number;
|
|
3138
3138
|
e7: number;
|
|
3139
3139
|
e8: number;
|
|
3140
|
-
}
|
|
3141
|
-
inverseInertiaB: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3140
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
3141
|
+
inverseInertiaB: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3142
3142
|
e0: number;
|
|
3143
3143
|
e1: number;
|
|
3144
3144
|
e2: number;
|
|
@@ -3148,17 +3148,17 @@ e5: number;
|
|
|
3148
3148
|
e6: number;
|
|
3149
3149
|
e7: number;
|
|
3150
3150
|
e8: number;
|
|
3151
|
-
}
|
|
3151
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
3152
3152
|
totalLambdaA: PropertyDefinitionNumber<true>;
|
|
3153
3153
|
totalLambdaB: PropertyDefinitionNumber<true>;
|
|
3154
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3154
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3155
3155
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
3156
3156
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
3157
|
-
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3157
|
+
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3158
3158
|
positionBaumgarte: number;
|
|
3159
3159
|
velocityBaumgarte: number;
|
|
3160
3160
|
strength: number;
|
|
3161
|
-
}
|
|
3161
|
+
}>> | undefined>, true, typeof ConstraintOptions>;
|
|
3162
3162
|
axisA: PropertyDefinition_2<NoInfer<number[] | {
|
|
3163
3163
|
x?: number;
|
|
3164
3164
|
y?: number;
|
|
@@ -3188,7 +3188,7 @@ effectiveMass00: PropertyDefinitionNumber<true>;
|
|
|
3188
3188
|
effectiveMass01: PropertyDefinitionNumber<true>;
|
|
3189
3189
|
effectiveMass10: PropertyDefinitionNumber<true>;
|
|
3190
3190
|
effectiveMass11: PropertyDefinitionNumber<true>;
|
|
3191
|
-
inverseInertiaA: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3191
|
+
inverseInertiaA: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3192
3192
|
e0: number;
|
|
3193
3193
|
e1: number;
|
|
3194
3194
|
e2: number;
|
|
@@ -3198,8 +3198,8 @@ e5: number;
|
|
|
3198
3198
|
e6: number;
|
|
3199
3199
|
e7: number;
|
|
3200
3200
|
e8: number;
|
|
3201
|
-
}
|
|
3202
|
-
inverseInertiaB: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3201
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
3202
|
+
inverseInertiaB: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3203
3203
|
e0: number;
|
|
3204
3204
|
e1: number;
|
|
3205
3205
|
e2: number;
|
|
@@ -3209,10 +3209,10 @@ e5: number;
|
|
|
3209
3209
|
e6: number;
|
|
3210
3210
|
e7: number;
|
|
3211
3211
|
e8: number;
|
|
3212
|
-
}
|
|
3212
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
3213
3213
|
totalLambdaA: PropertyDefinitionNumber<true>;
|
|
3214
3214
|
totalLambdaB: PropertyDefinitionNumber<true>;
|
|
3215
|
-
}
|
|
3215
|
+
}>> | undefined>;
|
|
3216
3216
|
|
|
3217
3217
|
export declare class HingeConstraint extends HingeConstraint_base implements ConstraintInterface {
|
|
3218
3218
|
type: ConstraintType.hingeConstraint;
|
|
@@ -3331,7 +3331,7 @@ bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
|
3331
3331
|
constraintPairNode: PropertyDefinitionReference<ConstraintPairNode | null, true>;
|
|
3332
3332
|
referenceFrame: PropertyDefinition_2<ReferenceFrame, true>;
|
|
3333
3333
|
isEnabled: PropertyDefinitionBoolean<true>;
|
|
3334
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3334
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3335
3335
|
pointA: PropertyDefinition_2<NoInfer<number[] | {
|
|
3336
3336
|
x?: number;
|
|
3337
3337
|
y?: number;
|
|
@@ -3421,7 +3421,7 @@ bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
|
3421
3421
|
constraintPairNode: PropertyDefinitionReference<ConstraintPairNode | null, true>;
|
|
3422
3422
|
referenceFrame: PropertyDefinition_2<ReferenceFrame, true>;
|
|
3423
3423
|
isEnabled: PropertyDefinitionBoolean<true>;
|
|
3424
|
-
}
|
|
3424
|
+
}>> | undefined>;
|
|
3425
3425
|
|
|
3426
3426
|
export declare class Isometry extends Isometry_base {
|
|
3427
3427
|
fromRotationAndTranslation(rotation?: Quat, translation?: Vec3): this;
|
|
@@ -3434,9 +3434,9 @@ export declare class Isometry extends Isometry_base {
|
|
|
3434
3434
|
|
|
3435
3435
|
declare const Isometry_base: Monomorph<Isometry, ConvertedInputPropertyDefinitionMap< {
|
|
3436
3436
|
matrix: typeof Mat4;
|
|
3437
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3437
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3438
3438
|
matrix: typeof Mat4;
|
|
3439
|
-
}
|
|
3439
|
+
}>> | undefined>;
|
|
3440
3440
|
|
|
3441
3441
|
declare type KinematicShape = Exclude<Shape, HeightMap>;
|
|
3442
3442
|
|
|
@@ -3447,10 +3447,10 @@ export declare class Line extends Line_base {
|
|
|
3447
3447
|
declare const Line_base: Monomorph<Line, ConvertedInputPropertyDefinitionMap< {
|
|
3448
3448
|
a: typeof Vec3;
|
|
3449
3449
|
b: typeof Vec3;
|
|
3450
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3450
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3451
3451
|
a: typeof Vec3;
|
|
3452
3452
|
b: typeof Vec3;
|
|
3453
|
-
}
|
|
3453
|
+
}>> | undefined>;
|
|
3454
3454
|
|
|
3455
3455
|
declare class ManifoldCache {
|
|
3456
3456
|
options: ManifoldCacheOptions;
|
|
@@ -3515,17 +3515,17 @@ inverseMassA: number;
|
|
|
3515
3515
|
inverseMassB: number;
|
|
3516
3516
|
contactConstraints: PropertyDefinitionReferenceList<ContactConstraint, {
|
|
3517
3517
|
pool: PoolClass<ContactConstraint>;
|
|
3518
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3518
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3519
3519
|
normalConstraint: typeof DirectionalConstraint;
|
|
3520
3520
|
tangentConstraint: typeof DirectionalConstraint;
|
|
3521
3521
|
bitangentConstraint: typeof DirectionalConstraint;
|
|
3522
3522
|
localPositionA: typeof Vec3;
|
|
3523
3523
|
localPositionB: typeof Vec3;
|
|
3524
|
-
}
|
|
3524
|
+
}>> | undefined)[] | undefined;
|
|
3525
3525
|
maxLength?: number;
|
|
3526
3526
|
}>;
|
|
3527
3527
|
numContacts: number;
|
|
3528
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3528
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3529
3529
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
3530
3530
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
3531
3531
|
subShapeIdA: number;
|
|
@@ -3539,17 +3539,17 @@ inverseMassA: number;
|
|
|
3539
3539
|
inverseMassB: number;
|
|
3540
3540
|
contactConstraints: PropertyDefinitionReferenceList<ContactConstraint, {
|
|
3541
3541
|
pool: PoolClass<ContactConstraint>;
|
|
3542
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3542
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3543
3543
|
normalConstraint: typeof DirectionalConstraint;
|
|
3544
3544
|
tangentConstraint: typeof DirectionalConstraint;
|
|
3545
3545
|
bitangentConstraint: typeof DirectionalConstraint;
|
|
3546
3546
|
localPositionA: typeof Vec3;
|
|
3547
3547
|
localPositionB: typeof Vec3;
|
|
3548
|
-
}
|
|
3548
|
+
}>> | undefined)[] | undefined;
|
|
3549
3549
|
maxLength?: number;
|
|
3550
3550
|
}>;
|
|
3551
3551
|
numContacts: number;
|
|
3552
|
-
}
|
|
3552
|
+
}>> | undefined>;
|
|
3553
3553
|
|
|
3554
3554
|
declare class ManifoldConstraintPool {
|
|
3555
3555
|
manifoldConstraintPool: PoolClass<ManifoldConstraint>;
|
|
@@ -3601,7 +3601,7 @@ e5: number;
|
|
|
3601
3601
|
e6: number;
|
|
3602
3602
|
e7: number;
|
|
3603
3603
|
e8: number;
|
|
3604
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3604
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3605
3605
|
e0: number;
|
|
3606
3606
|
e1: number;
|
|
3607
3607
|
e2: number;
|
|
@@ -3611,7 +3611,7 @@ e5: number;
|
|
|
3611
3611
|
e6: number;
|
|
3612
3612
|
e7: number;
|
|
3613
3613
|
e8: number;
|
|
3614
|
-
}
|
|
3614
|
+
}>> | undefined>;
|
|
3615
3615
|
|
|
3616
3616
|
export declare class Mat4 extends Mat4_base {
|
|
3617
3617
|
multiply3x3(out: Vec3, a: Vec3): Vec3;
|
|
@@ -3674,7 +3674,7 @@ e12: number;
|
|
|
3674
3674
|
e13: number;
|
|
3675
3675
|
e14: number;
|
|
3676
3676
|
e15: number;
|
|
3677
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3677
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3678
3678
|
e0: number;
|
|
3679
3679
|
e1: number;
|
|
3680
3680
|
e2: number;
|
|
@@ -3691,37 +3691,37 @@ e12: number;
|
|
|
3691
3691
|
e13: number;
|
|
3692
3692
|
e14: number;
|
|
3693
3693
|
e15: number;
|
|
3694
|
-
}
|
|
3694
|
+
}>> | undefined>;
|
|
3695
3695
|
|
|
3696
3696
|
declare class Motor extends Motor_base {
|
|
3697
3697
|
isValid(): boolean;
|
|
3698
3698
|
}
|
|
3699
3699
|
|
|
3700
3700
|
declare const Motor_base: Monomorph<Motor, ConvertedInputPropertyDefinitionMap< {
|
|
3701
|
-
spring: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3701
|
+
spring: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3702
3702
|
mode: PropertyDefinitionNumber<true>;
|
|
3703
3703
|
damping: number;
|
|
3704
3704
|
frequency: number;
|
|
3705
3705
|
stiffness: number;
|
|
3706
|
-
}
|
|
3706
|
+
}>> | undefined>, true, typeof Spring>;
|
|
3707
3707
|
minForce: PropertyDefinitionNumber<true>;
|
|
3708
3708
|
maxForce: PropertyDefinitionNumber<true>;
|
|
3709
3709
|
minTorque: PropertyDefinitionNumber<true>;
|
|
3710
3710
|
maxTorque: PropertyDefinitionNumber<true>;
|
|
3711
3711
|
mode: PropertyDefinitionNumber<true>;
|
|
3712
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3713
|
-
spring: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3712
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3713
|
+
spring: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3714
3714
|
mode: PropertyDefinitionNumber<true>;
|
|
3715
3715
|
damping: number;
|
|
3716
3716
|
frequency: number;
|
|
3717
3717
|
stiffness: number;
|
|
3718
|
-
}
|
|
3718
|
+
}>> | undefined>, true, typeof Spring>;
|
|
3719
3719
|
minForce: PropertyDefinitionNumber<true>;
|
|
3720
3720
|
maxForce: PropertyDefinitionNumber<true>;
|
|
3721
3721
|
minTorque: PropertyDefinitionNumber<true>;
|
|
3722
3722
|
maxTorque: PropertyDefinitionNumber<true>;
|
|
3723
3723
|
mode: PropertyDefinitionNumber<true>;
|
|
3724
|
-
}
|
|
3724
|
+
}>> | undefined>;
|
|
3725
3725
|
|
|
3726
3726
|
declare class NewTriangles extends StaticArray<Triangle_2> {
|
|
3727
3727
|
constructor(capacity: number);
|
|
@@ -3737,9 +3737,9 @@ export declare class NumberValue extends NumberValue_base {
|
|
|
3737
3737
|
|
|
3738
3738
|
declare const NumberValue_base: Monomorph<NumberValue, ConvertedInputPropertyDefinitionMap< {
|
|
3739
3739
|
value: number;
|
|
3740
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3740
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3741
3741
|
value: number;
|
|
3742
|
-
}
|
|
3742
|
+
}>> | undefined>;
|
|
3743
3743
|
|
|
3744
3744
|
declare class PenetrationDepth extends PenetrationDepth_base {
|
|
3745
3745
|
}
|
|
@@ -3749,12 +3749,12 @@ status: number;
|
|
|
3749
3749
|
penetrationAxis: typeof Vec3;
|
|
3750
3750
|
pointA: typeof Vec3;
|
|
3751
3751
|
pointB: typeof Vec3;
|
|
3752
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3752
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3753
3753
|
status: number;
|
|
3754
3754
|
penetrationAxis: typeof Vec3;
|
|
3755
3755
|
pointA: typeof Vec3;
|
|
3756
3756
|
pointB: typeof Vec3;
|
|
3757
|
-
}
|
|
3757
|
+
}>> | undefined>;
|
|
3758
3758
|
|
|
3759
3759
|
export declare class PenetrationDepthModule {
|
|
3760
3760
|
gjkModule: GjkModule;
|
|
@@ -3792,10 +3792,10 @@ export declare class Plane extends Plane_base {
|
|
|
3792
3792
|
declare const Plane_base: Monomorph<Plane, ConvertedInputPropertyDefinitionMap< {
|
|
3793
3793
|
normal: typeof Vec3;
|
|
3794
3794
|
constant: number;
|
|
3795
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3795
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3796
3796
|
normal: typeof Vec3;
|
|
3797
3797
|
constant: number;
|
|
3798
|
-
}
|
|
3798
|
+
}>> | undefined>;
|
|
3799
3799
|
|
|
3800
3800
|
export declare class PointConstraint extends PointConstraint_base implements ConstraintInterface {
|
|
3801
3801
|
type: ConstraintType.pointConstraint;
|
|
@@ -3830,7 +3830,7 @@ bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
|
3830
3830
|
constraintPairNode: PropertyDefinitionReference<ConstraintPairNode | null, true>;
|
|
3831
3831
|
referenceFrame: PropertyDefinition_2<ReferenceFrame, true>;
|
|
3832
3832
|
isEnabled: PropertyDefinitionBoolean<true>;
|
|
3833
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3833
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3834
3834
|
positionA: typeof Vec3;
|
|
3835
3835
|
positionB: typeof Vec3;
|
|
3836
3836
|
localPositionA: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -3849,7 +3849,7 @@ bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
|
3849
3849
|
constraintPairNode: PropertyDefinitionReference<ConstraintPairNode | null, true>;
|
|
3850
3850
|
referenceFrame: PropertyDefinition_2<ReferenceFrame, true>;
|
|
3851
3851
|
isEnabled: PropertyDefinitionBoolean<true>;
|
|
3852
|
-
}
|
|
3852
|
+
}>> | undefined>;
|
|
3853
3853
|
|
|
3854
3854
|
declare class PointConstraintComponent extends PointConstraintComponent_base {
|
|
3855
3855
|
world: World;
|
|
@@ -3865,11 +3865,11 @@ declare class PointConstraintComponent extends PointConstraintComponent_base {
|
|
|
3865
3865
|
declare const PointConstraintComponent_base: Monomorph<PointConstraintComponent, ConvertedInputPropertyDefinitionMap< {
|
|
3866
3866
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
3867
3867
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
3868
|
-
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3868
|
+
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3869
3869
|
positionBaumgarte: number;
|
|
3870
3870
|
velocityBaumgarte: number;
|
|
3871
3871
|
strength: number;
|
|
3872
|
-
}
|
|
3872
|
+
}>> | undefined>, true, typeof ConstraintOptions>;
|
|
3873
3873
|
momentArmA: PropertyDefinition_2<NoInfer<number[] | {
|
|
3874
3874
|
x?: number;
|
|
3875
3875
|
y?: number;
|
|
@@ -3880,7 +3880,7 @@ x?: number;
|
|
|
3880
3880
|
y?: number;
|
|
3881
3881
|
z?: number;
|
|
3882
3882
|
} | undefined>, true, typeof Vec3>;
|
|
3883
|
-
effectiveMass: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3883
|
+
effectiveMass: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3884
3884
|
e0: number;
|
|
3885
3885
|
e1: number;
|
|
3886
3886
|
e2: number;
|
|
@@ -3890,8 +3890,8 @@ e5: number;
|
|
|
3890
3890
|
e6: number;
|
|
3891
3891
|
e7: number;
|
|
3892
3892
|
e8: number;
|
|
3893
|
-
}
|
|
3894
|
-
effectiveInverseInertiaA: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3893
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
3894
|
+
effectiveInverseInertiaA: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3895
3895
|
e0: number;
|
|
3896
3896
|
e1: number;
|
|
3897
3897
|
e2: number;
|
|
@@ -3901,8 +3901,8 @@ e5: number;
|
|
|
3901
3901
|
e6: number;
|
|
3902
3902
|
e7: number;
|
|
3903
3903
|
e8: number;
|
|
3904
|
-
}
|
|
3905
|
-
effectiveInverseInertiaB: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3904
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
3905
|
+
effectiveInverseInertiaB: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3906
3906
|
e0: number;
|
|
3907
3907
|
e1: number;
|
|
3908
3908
|
e2: number;
|
|
@@ -3912,20 +3912,20 @@ e5: number;
|
|
|
3912
3912
|
e6: number;
|
|
3913
3913
|
e7: number;
|
|
3914
3914
|
e8: number;
|
|
3915
|
-
}
|
|
3915
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
3916
3916
|
totalLambda: PropertyDefinition_2<NoInfer<number[] | {
|
|
3917
3917
|
x?: number;
|
|
3918
3918
|
y?: number;
|
|
3919
3919
|
z?: number;
|
|
3920
3920
|
} | undefined>, true, typeof Vec3>;
|
|
3921
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3921
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3922
3922
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
3923
3923
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
3924
|
-
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3924
|
+
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3925
3925
|
positionBaumgarte: number;
|
|
3926
3926
|
velocityBaumgarte: number;
|
|
3927
3927
|
strength: number;
|
|
3928
|
-
}
|
|
3928
|
+
}>> | undefined>, true, typeof ConstraintOptions>;
|
|
3929
3929
|
momentArmA: PropertyDefinition_2<NoInfer<number[] | {
|
|
3930
3930
|
x?: number;
|
|
3931
3931
|
y?: number;
|
|
@@ -3936,7 +3936,7 @@ x?: number;
|
|
|
3936
3936
|
y?: number;
|
|
3937
3937
|
z?: number;
|
|
3938
3938
|
} | undefined>, true, typeof Vec3>;
|
|
3939
|
-
effectiveMass: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3939
|
+
effectiveMass: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3940
3940
|
e0: number;
|
|
3941
3941
|
e1: number;
|
|
3942
3942
|
e2: number;
|
|
@@ -3946,8 +3946,8 @@ e5: number;
|
|
|
3946
3946
|
e6: number;
|
|
3947
3947
|
e7: number;
|
|
3948
3948
|
e8: number;
|
|
3949
|
-
}
|
|
3950
|
-
effectiveInverseInertiaA: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3949
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
3950
|
+
effectiveInverseInertiaA: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3951
3951
|
e0: number;
|
|
3952
3952
|
e1: number;
|
|
3953
3953
|
e2: number;
|
|
@@ -3957,8 +3957,8 @@ e5: number;
|
|
|
3957
3957
|
e6: number;
|
|
3958
3958
|
e7: number;
|
|
3959
3959
|
e8: number;
|
|
3960
|
-
}
|
|
3961
|
-
effectiveInverseInertiaB: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
3960
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
3961
|
+
effectiveInverseInertiaB: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
3962
3962
|
e0: number;
|
|
3963
3963
|
e1: number;
|
|
3964
3964
|
e2: number;
|
|
@@ -3968,13 +3968,13 @@ e5: number;
|
|
|
3968
3968
|
e6: number;
|
|
3969
3969
|
e7: number;
|
|
3970
3970
|
e8: number;
|
|
3971
|
-
}
|
|
3971
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
3972
3972
|
totalLambda: PropertyDefinition_2<NoInfer<number[] | {
|
|
3973
3973
|
x?: number;
|
|
3974
3974
|
y?: number;
|
|
3975
3975
|
z?: number;
|
|
3976
3976
|
} | undefined>, true, typeof Vec3>;
|
|
3977
|
-
}
|
|
3977
|
+
}>> | undefined>;
|
|
3978
3978
|
|
|
3979
3979
|
declare class Points extends PointsBase {
|
|
3980
3980
|
getSizeRef(): this;
|
|
@@ -4055,11 +4055,11 @@ declare const Ray_base: Monomorph<Ray, ConvertedInputPropertyDefinitionMap< {
|
|
|
4055
4055
|
origin: typeof Vec3;
|
|
4056
4056
|
direction: typeof Vec3;
|
|
4057
4057
|
length: number;
|
|
4058
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4058
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4059
4059
|
origin: typeof Vec3;
|
|
4060
4060
|
direction: typeof Vec3;
|
|
4061
4061
|
length: number;
|
|
4062
|
-
}
|
|
4062
|
+
}>> | undefined>;
|
|
4063
4063
|
|
|
4064
4064
|
declare interface RayCastSettings {
|
|
4065
4065
|
precision?: QueryPrecision;
|
|
@@ -4087,12 +4087,12 @@ declare class RotationEulerComponent extends RotationEulerComponent_base {
|
|
|
4087
4087
|
declare const RotationEulerComponent_base: Monomorph<RotationEulerComponent, ConvertedInputPropertyDefinitionMap< {
|
|
4088
4088
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
4089
4089
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
4090
|
-
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4090
|
+
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4091
4091
|
positionBaumgarte: number;
|
|
4092
4092
|
velocityBaumgarte: number;
|
|
4093
4093
|
strength: number;
|
|
4094
|
-
}
|
|
4095
|
-
mInvI1: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4094
|
+
}>> | undefined>, true, typeof ConstraintOptions>;
|
|
4095
|
+
mInvI1: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4096
4096
|
e0: number;
|
|
4097
4097
|
e1: number;
|
|
4098
4098
|
e2: number;
|
|
@@ -4102,8 +4102,8 @@ e5: number;
|
|
|
4102
4102
|
e6: number;
|
|
4103
4103
|
e7: number;
|
|
4104
4104
|
e8: number;
|
|
4105
|
-
}
|
|
4106
|
-
mInvI2: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4105
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
4106
|
+
mInvI2: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4107
4107
|
e0: number;
|
|
4108
4108
|
e1: number;
|
|
4109
4109
|
e2: number;
|
|
@@ -4113,8 +4113,8 @@ e5: number;
|
|
|
4113
4113
|
e6: number;
|
|
4114
4114
|
e7: number;
|
|
4115
4115
|
e8: number;
|
|
4116
|
-
}
|
|
4117
|
-
effectiveMassRotationComponent: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4116
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
4117
|
+
effectiveMassRotationComponent: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4118
4118
|
e0: number;
|
|
4119
4119
|
e1: number;
|
|
4120
4120
|
e2: number;
|
|
@@ -4124,21 +4124,21 @@ e5: number;
|
|
|
4124
4124
|
e6: number;
|
|
4125
4125
|
e7: number;
|
|
4126
4126
|
e8: number;
|
|
4127
|
-
}
|
|
4127
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
4128
4128
|
totalLambdaRotationComponent: PropertyDefinition_2<NoInfer<number[] | {
|
|
4129
4129
|
x?: number;
|
|
4130
4130
|
y?: number;
|
|
4131
4131
|
z?: number;
|
|
4132
4132
|
} | undefined>, true, typeof Vec3>;
|
|
4133
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4133
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4134
4134
|
bodyA: PropertyDefinitionReference<Body_2 | null, true>;
|
|
4135
4135
|
bodyB: PropertyDefinitionReference<Body_2 | null, true>;
|
|
4136
|
-
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4136
|
+
options: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4137
4137
|
positionBaumgarte: number;
|
|
4138
4138
|
velocityBaumgarte: number;
|
|
4139
4139
|
strength: number;
|
|
4140
|
-
}
|
|
4141
|
-
mInvI1: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4140
|
+
}>> | undefined>, true, typeof ConstraintOptions>;
|
|
4141
|
+
mInvI1: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4142
4142
|
e0: number;
|
|
4143
4143
|
e1: number;
|
|
4144
4144
|
e2: number;
|
|
@@ -4148,8 +4148,8 @@ e5: number;
|
|
|
4148
4148
|
e6: number;
|
|
4149
4149
|
e7: number;
|
|
4150
4150
|
e8: number;
|
|
4151
|
-
}
|
|
4152
|
-
mInvI2: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4151
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
4152
|
+
mInvI2: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4153
4153
|
e0: number;
|
|
4154
4154
|
e1: number;
|
|
4155
4155
|
e2: number;
|
|
@@ -4159,8 +4159,8 @@ e5: number;
|
|
|
4159
4159
|
e6: number;
|
|
4160
4160
|
e7: number;
|
|
4161
4161
|
e8: number;
|
|
4162
|
-
}
|
|
4163
|
-
effectiveMassRotationComponent: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4162
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
4163
|
+
effectiveMassRotationComponent: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4164
4164
|
e0: number;
|
|
4165
4165
|
e1: number;
|
|
4166
4166
|
e2: number;
|
|
@@ -4170,13 +4170,13 @@ e5: number;
|
|
|
4170
4170
|
e6: number;
|
|
4171
4171
|
e7: number;
|
|
4172
4172
|
e8: number;
|
|
4173
|
-
}
|
|
4173
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
4174
4174
|
totalLambdaRotationComponent: PropertyDefinition_2<NoInfer<number[] | {
|
|
4175
4175
|
x?: number;
|
|
4176
4176
|
y?: number;
|
|
4177
4177
|
z?: number;
|
|
4178
4178
|
} | undefined>, true, typeof Vec3>;
|
|
4179
|
-
}
|
|
4179
|
+
}>> | undefined>;
|
|
4180
4180
|
|
|
4181
4181
|
declare class Segment extends Segment_base {
|
|
4182
4182
|
computeCenter(out: Vec3): void;
|
|
@@ -4187,10 +4187,10 @@ declare class Segment extends Segment_base {
|
|
|
4187
4187
|
declare const Segment_base: Monomorph<Segment, ConvertedInputPropertyDefinitionMap< {
|
|
4188
4188
|
pointA: typeof Vec3;
|
|
4189
4189
|
pointB: typeof Vec3;
|
|
4190
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4190
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4191
4191
|
pointA: typeof Vec3;
|
|
4192
4192
|
pointB: typeof Vec3;
|
|
4193
|
-
}
|
|
4193
|
+
}>> | undefined>;
|
|
4194
4194
|
|
|
4195
4195
|
declare function setFlags(...values: number[]): number;
|
|
4196
4196
|
|
|
@@ -4275,7 +4275,7 @@ y?: number;
|
|
|
4275
4275
|
z?: number;
|
|
4276
4276
|
} | undefined>, true, typeof Vec3>;
|
|
4277
4277
|
computedVolume: PropertyDefinitionNumber<true>;
|
|
4278
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4278
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4279
4279
|
min: typeof Vec3;
|
|
4280
4280
|
max: typeof Vec3;
|
|
4281
4281
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4283,23 +4283,23 @@ x?: number;
|
|
|
4283
4283
|
y?: number;
|
|
4284
4284
|
z?: number;
|
|
4285
4285
|
} | undefined>, true, typeof Vec3>;
|
|
4286
|
-
}
|
|
4286
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4287
4287
|
radius: number;
|
|
4288
4288
|
copyForDiff: PropertyDefinitionReference<Sphere | null, true>;
|
|
4289
|
-
sphereNoConvex: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4289
|
+
sphereNoConvex: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4290
4290
|
radius: number;
|
|
4291
|
-
}
|
|
4292
|
-
sphereWithConvex: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4291
|
+
}>> | undefined>, true, typeof SphereNoConvex>;
|
|
4292
|
+
sphereWithConvex: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4293
4293
|
radius: number;
|
|
4294
|
-
}
|
|
4295
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4294
|
+
}>> | undefined>, true, typeof SphereWithConvex>;
|
|
4295
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4296
4296
|
computedCenterOfMass: PropertyDefinition_2<NoInfer<number[] | {
|
|
4297
4297
|
x?: number;
|
|
4298
4298
|
y?: number;
|
|
4299
4299
|
z?: number;
|
|
4300
4300
|
} | undefined>, true, typeof Vec3>;
|
|
4301
4301
|
computedVolume: PropertyDefinitionNumber<true>;
|
|
4302
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4302
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4303
4303
|
min: typeof Vec3;
|
|
4304
4304
|
max: typeof Vec3;
|
|
4305
4305
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4307,16 +4307,16 @@ x?: number;
|
|
|
4307
4307
|
y?: number;
|
|
4308
4308
|
z?: number;
|
|
4309
4309
|
} | undefined>, true, typeof Vec3>;
|
|
4310
|
-
}
|
|
4310
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4311
4311
|
radius: number;
|
|
4312
4312
|
copyForDiff: PropertyDefinitionReference<Sphere | null, true>;
|
|
4313
|
-
sphereNoConvex: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4313
|
+
sphereNoConvex: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4314
4314
|
radius: number;
|
|
4315
|
-
}
|
|
4316
|
-
sphereWithConvex: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4315
|
+
}>> | undefined>, true, typeof SphereNoConvex>;
|
|
4316
|
+
sphereWithConvex: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4317
4317
|
radius: number;
|
|
4318
|
-
}
|
|
4319
|
-
}
|
|
4318
|
+
}>> | undefined>, true, typeof SphereWithConvex>;
|
|
4319
|
+
}>> | undefined>;
|
|
4320
4320
|
|
|
4321
4321
|
declare class SphereNoConvex extends SphereNoConvex_base implements SupportShapeWithConvexRadius {
|
|
4322
4322
|
getConvexRadius(): number;
|
|
@@ -4325,9 +4325,9 @@ declare class SphereNoConvex extends SphereNoConvex_base implements SupportShape
|
|
|
4325
4325
|
|
|
4326
4326
|
declare const SphereNoConvex_base: Monomorph<SphereNoConvex, ConvertedInputPropertyDefinitionMap< {
|
|
4327
4327
|
radius: number;
|
|
4328
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4328
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4329
4329
|
radius: number;
|
|
4330
|
-
}
|
|
4330
|
+
}>> | undefined>;
|
|
4331
4331
|
|
|
4332
4332
|
declare class SphereWithConvex extends SphereWithConvex_base implements SupportShapeWithConvexRadius {
|
|
4333
4333
|
getConvexRadius(): number;
|
|
@@ -4336,9 +4336,9 @@ declare class SphereWithConvex extends SphereWithConvex_base implements SupportS
|
|
|
4336
4336
|
|
|
4337
4337
|
declare const SphereWithConvex_base: Monomorph<SphereWithConvex, ConvertedInputPropertyDefinitionMap< {
|
|
4338
4338
|
radius: number;
|
|
4339
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4339
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4340
4340
|
radius: number;
|
|
4341
|
-
}
|
|
4341
|
+
}>> | undefined>;
|
|
4342
4342
|
|
|
4343
4343
|
declare class Spring extends Spring_base {
|
|
4344
4344
|
hasStiffness(): boolean;
|
|
@@ -4350,12 +4350,12 @@ mode: PropertyDefinitionNumber<true>;
|
|
|
4350
4350
|
damping: number;
|
|
4351
4351
|
frequency: number;
|
|
4352
4352
|
stiffness: number;
|
|
4353
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4353
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4354
4354
|
mode: PropertyDefinitionNumber<true>;
|
|
4355
4355
|
damping: number;
|
|
4356
4356
|
frequency: number;
|
|
4357
4357
|
stiffness: number;
|
|
4358
|
-
}
|
|
4358
|
+
}>> | undefined>;
|
|
4359
4359
|
|
|
4360
4360
|
declare class SpringComponent extends SpringComponent_base {
|
|
4361
4361
|
getBias(lambda: number): number;
|
|
@@ -4369,10 +4369,10 @@ declare class SpringComponent extends SpringComponent_base {
|
|
|
4369
4369
|
declare const SpringComponent_base: Monomorph<SpringComponent, ConvertedInputPropertyDefinitionMap< {
|
|
4370
4370
|
bias: number;
|
|
4371
4371
|
softness: number;
|
|
4372
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4372
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4373
4373
|
bias: number;
|
|
4374
4374
|
softness: number;
|
|
4375
|
-
}
|
|
4375
|
+
}>> | undefined>;
|
|
4376
4376
|
|
|
4377
4377
|
export declare function squared(value: number): number;
|
|
4378
4378
|
|
|
@@ -4470,7 +4470,7 @@ shape3: PropertyDefinitionReference<ConvexHull | null, true>;
|
|
|
4470
4470
|
shape4: PropertyDefinitionReference<Cylinder | null, true>;
|
|
4471
4471
|
shape6: PropertyDefinitionReference<Sphere | null, true>;
|
|
4472
4472
|
transform: typeof BasicTransform;
|
|
4473
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4473
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4474
4474
|
shapeType: PropertyDefinition_2<ShapeType, true>;
|
|
4475
4475
|
shape0: PropertyDefinitionReference<Box | null, true>;
|
|
4476
4476
|
shape1: PropertyDefinitionReference<Capsule | null, true>;
|
|
@@ -4478,7 +4478,7 @@ shape3: PropertyDefinitionReference<ConvexHull | null, true>;
|
|
|
4478
4478
|
shape4: PropertyDefinitionReference<Cylinder | null, true>;
|
|
4479
4479
|
shape6: PropertyDefinitionReference<Sphere | null, true>;
|
|
4480
4480
|
transform: typeof BasicTransform;
|
|
4481
|
-
}
|
|
4481
|
+
}>> | undefined>;
|
|
4482
4482
|
|
|
4483
4483
|
declare class Triangle extends Triangle_base {
|
|
4484
4484
|
computeNormal(out: Vec3): void;
|
|
@@ -4524,7 +4524,7 @@ declare class Triangle_2 extends Triangle_base_2 {
|
|
|
4524
4524
|
}
|
|
4525
4525
|
|
|
4526
4526
|
declare const Triangle_base: Monomorph<Triangle, ConvertedInputPropertyDefinitionMap< {
|
|
4527
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4527
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4528
4528
|
min: typeof Vec3;
|
|
4529
4529
|
max: typeof Vec3;
|
|
4530
4530
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4532,7 +4532,7 @@ x?: number;
|
|
|
4532
4532
|
y?: number;
|
|
4533
4533
|
z?: number;
|
|
4534
4534
|
} | undefined>, true, typeof Vec3>;
|
|
4535
|
-
}
|
|
4535
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4536
4536
|
normal: PropertyDefinition_2<NoInfer<number[] | {
|
|
4537
4537
|
x?: number;
|
|
4538
4538
|
y?: number;
|
|
@@ -4543,8 +4543,8 @@ b: typeof Vec3;
|
|
|
4543
4543
|
c: typeof Vec3;
|
|
4544
4544
|
subShapeId: PropertyDefinitionNumber<true>;
|
|
4545
4545
|
activeEdges: PropertyDefinitionNumber<true>;
|
|
4546
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4547
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4546
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4547
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4548
4548
|
min: typeof Vec3;
|
|
4549
4549
|
max: typeof Vec3;
|
|
4550
4550
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4552,7 +4552,7 @@ x?: number;
|
|
|
4552
4552
|
y?: number;
|
|
4553
4553
|
z?: number;
|
|
4554
4554
|
} | undefined>, true, typeof Vec3>;
|
|
4555
|
-
}
|
|
4555
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4556
4556
|
normal: PropertyDefinition_2<NoInfer<number[] | {
|
|
4557
4557
|
x?: number;
|
|
4558
4558
|
y?: number;
|
|
@@ -4563,7 +4563,7 @@ b: typeof Vec3;
|
|
|
4563
4563
|
c: typeof Vec3;
|
|
4564
4564
|
subShapeId: PropertyDefinitionNumber<true>;
|
|
4565
4565
|
activeEdges: PropertyDefinitionNumber<true>;
|
|
4566
|
-
}
|
|
4566
|
+
}>> | undefined>;
|
|
4567
4567
|
|
|
4568
4568
|
declare const Triangle_base_2: Monomorph<Triangle_2, ConvertedInputPropertyDefinitionMap< {
|
|
4569
4569
|
edge0: typeof Edge;
|
|
@@ -4579,7 +4579,7 @@ closestPointInterior: PropertyDefinitionBoolean<true>;
|
|
|
4579
4579
|
removed: PropertyDefinitionBoolean<true>;
|
|
4580
4580
|
inQueue: PropertyDefinitionBoolean<true>;
|
|
4581
4581
|
iteration: number;
|
|
4582
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4582
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4583
4583
|
edge0: typeof Edge;
|
|
4584
4584
|
edge1: typeof Edge;
|
|
4585
4585
|
edge2: typeof Edge;
|
|
@@ -4593,7 +4593,7 @@ closestPointInterior: PropertyDefinitionBoolean<true>;
|
|
|
4593
4593
|
removed: PropertyDefinitionBoolean<true>;
|
|
4594
4594
|
inQueue: PropertyDefinitionBoolean<true>;
|
|
4595
4595
|
iteration: number;
|
|
4596
|
-
}
|
|
4596
|
+
}>> | undefined>;
|
|
4597
4597
|
|
|
4598
4598
|
declare class TriangleFactory {
|
|
4599
4599
|
pool: ArrayPool<Triangle_2>;
|
|
@@ -4628,7 +4628,7 @@ y?: number;
|
|
|
4628
4628
|
z?: number;
|
|
4629
4629
|
} | undefined>, true, typeof Vec3>;
|
|
4630
4630
|
computedVolume: PropertyDefinitionNumber<true>;
|
|
4631
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4631
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4632
4632
|
min: typeof Vec3;
|
|
4633
4633
|
max: typeof Vec3;
|
|
4634
4634
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4636,9 +4636,9 @@ x?: number;
|
|
|
4636
4636
|
y?: number;
|
|
4637
4637
|
z?: number;
|
|
4638
4638
|
} | undefined>, true, typeof Vec3>;
|
|
4639
|
-
}
|
|
4639
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4640
4640
|
translation: typeof Vec3;
|
|
4641
|
-
inertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4641
|
+
inertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4642
4642
|
e0: number;
|
|
4643
4643
|
e1: number;
|
|
4644
4644
|
e2: number;
|
|
@@ -4648,7 +4648,7 @@ e5: number;
|
|
|
4648
4648
|
e6: number;
|
|
4649
4649
|
e7: number;
|
|
4650
4650
|
e8: number;
|
|
4651
|
-
}
|
|
4651
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
4652
4652
|
vertexPositions: PropertyDefinitionReferenceList<Vec3, {
|
|
4653
4653
|
pool: PoolClass<Vec3>;
|
|
4654
4654
|
items?: (number[] | {
|
|
@@ -4669,8 +4669,8 @@ maxLength?: number;
|
|
|
4669
4669
|
}>;
|
|
4670
4670
|
triangles: PropertyDefinitionReferenceList<Triangle, {
|
|
4671
4671
|
pool: PoolClass<Triangle>;
|
|
4672
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4673
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4672
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4673
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4674
4674
|
min: typeof Vec3;
|
|
4675
4675
|
max: typeof Vec3;
|
|
4676
4676
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4678,7 +4678,7 @@ x?: number;
|
|
|
4678
4678
|
y?: number;
|
|
4679
4679
|
z?: number;
|
|
4680
4680
|
} | undefined>, true, typeof Vec3>;
|
|
4681
|
-
}
|
|
4681
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4682
4682
|
normal: PropertyDefinition_2<NoInfer<number[] | {
|
|
4683
4683
|
x?: number;
|
|
4684
4684
|
y?: number;
|
|
@@ -4689,19 +4689,19 @@ b: typeof Vec3;
|
|
|
4689
4689
|
c: typeof Vec3;
|
|
4690
4690
|
subShapeId: PropertyDefinitionNumber<true>;
|
|
4691
4691
|
activeEdges: PropertyDefinitionNumber<true>;
|
|
4692
|
-
}
|
|
4692
|
+
}>> | undefined)[] | undefined;
|
|
4693
4693
|
maxLength?: number;
|
|
4694
4694
|
}>;
|
|
4695
4695
|
copyForDiff: PropertyDefinitionReference<TriangleMesh | null, true>;
|
|
4696
4696
|
bvh: PropertyDefinitionReference<TriangleMeshBvhTree | null, true>;
|
|
4697
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4697
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4698
4698
|
computedCenterOfMass: PropertyDefinition_2<NoInfer<number[] | {
|
|
4699
4699
|
x?: number;
|
|
4700
4700
|
y?: number;
|
|
4701
4701
|
z?: number;
|
|
4702
4702
|
} | undefined>, true, typeof Vec3>;
|
|
4703
4703
|
computedVolume: PropertyDefinitionNumber<true>;
|
|
4704
|
-
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4704
|
+
computedAabb: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4705
4705
|
min: typeof Vec3;
|
|
4706
4706
|
max: typeof Vec3;
|
|
4707
4707
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4709,9 +4709,9 @@ x?: number;
|
|
|
4709
4709
|
y?: number;
|
|
4710
4710
|
z?: number;
|
|
4711
4711
|
} | undefined>, true, typeof Vec3>;
|
|
4712
|
-
}
|
|
4712
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4713
4713
|
translation: typeof Vec3;
|
|
4714
|
-
inertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4714
|
+
inertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4715
4715
|
e0: number;
|
|
4716
4716
|
e1: number;
|
|
4717
4717
|
e2: number;
|
|
@@ -4721,7 +4721,7 @@ e5: number;
|
|
|
4721
4721
|
e6: number;
|
|
4722
4722
|
e7: number;
|
|
4723
4723
|
e8: number;
|
|
4724
|
-
}
|
|
4724
|
+
}>> | undefined>, true, typeof Mat3>;
|
|
4725
4725
|
vertexPositions: PropertyDefinitionReferenceList<Vec3, {
|
|
4726
4726
|
pool: PoolClass<Vec3>;
|
|
4727
4727
|
items?: (number[] | {
|
|
@@ -4742,8 +4742,8 @@ maxLength?: number;
|
|
|
4742
4742
|
}>;
|
|
4743
4743
|
triangles: PropertyDefinitionReferenceList<Triangle, {
|
|
4744
4744
|
pool: PoolClass<Triangle>;
|
|
4745
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4746
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4745
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4746
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4747
4747
|
min: typeof Vec3;
|
|
4748
4748
|
max: typeof Vec3;
|
|
4749
4749
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4751,7 +4751,7 @@ x?: number;
|
|
|
4751
4751
|
y?: number;
|
|
4752
4752
|
z?: number;
|
|
4753
4753
|
} | undefined>, true, typeof Vec3>;
|
|
4754
|
-
}
|
|
4754
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4755
4755
|
normal: PropertyDefinition_2<NoInfer<number[] | {
|
|
4756
4756
|
x?: number;
|
|
4757
4757
|
y?: number;
|
|
@@ -4762,12 +4762,12 @@ b: typeof Vec3;
|
|
|
4762
4762
|
c: typeof Vec3;
|
|
4763
4763
|
subShapeId: PropertyDefinitionNumber<true>;
|
|
4764
4764
|
activeEdges: PropertyDefinitionNumber<true>;
|
|
4765
|
-
}
|
|
4765
|
+
}>> | undefined)[] | undefined;
|
|
4766
4766
|
maxLength?: number;
|
|
4767
4767
|
}>;
|
|
4768
4768
|
copyForDiff: PropertyDefinitionReference<TriangleMesh | null, true>;
|
|
4769
4769
|
bvh: PropertyDefinitionReference<TriangleMeshBvhTree | null, true>;
|
|
4770
|
-
}
|
|
4770
|
+
}>> | undefined>;
|
|
4771
4771
|
|
|
4772
4772
|
declare class TriangleMeshBuilder {
|
|
4773
4773
|
convexHullBuilder: ConvexHullBuilder;
|
|
@@ -4788,7 +4788,7 @@ declare const TriangleMeshBvhNode_base: Monomorph<TriangleMeshBvhNode, Converted
|
|
|
4788
4788
|
parent: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
4789
4789
|
left: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
4790
4790
|
right: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
4791
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4791
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4792
4792
|
min: typeof Vec3;
|
|
4793
4793
|
max: typeof Vec3;
|
|
4794
4794
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4796,12 +4796,12 @@ x?: number;
|
|
|
4796
4796
|
y?: number;
|
|
4797
4797
|
z?: number;
|
|
4798
4798
|
} | undefined>, true, typeof Vec3>;
|
|
4799
|
-
}
|
|
4799
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4800
4800
|
depth: PropertyDefinitionNumber<true>;
|
|
4801
4801
|
objects: PropertyDefinitionReferenceList<Triangle, {
|
|
4802
4802
|
pool: PoolClass<Triangle>;
|
|
4803
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4804
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4803
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4804
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4805
4805
|
min: typeof Vec3;
|
|
4806
4806
|
max: typeof Vec3;
|
|
4807
4807
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4809,7 +4809,7 @@ x?: number;
|
|
|
4809
4809
|
y?: number;
|
|
4810
4810
|
z?: number;
|
|
4811
4811
|
} | undefined>, true, typeof Vec3>;
|
|
4812
|
-
}
|
|
4812
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4813
4813
|
normal: PropertyDefinition_2<NoInfer<number[] | {
|
|
4814
4814
|
x?: number;
|
|
4815
4815
|
y?: number;
|
|
@@ -4820,14 +4820,14 @@ b: typeof Vec3;
|
|
|
4820
4820
|
c: typeof Vec3;
|
|
4821
4821
|
subShapeId: PropertyDefinitionNumber<true>;
|
|
4822
4822
|
activeEdges: PropertyDefinitionNumber<true>;
|
|
4823
|
-
}
|
|
4823
|
+
}>> | undefined)[] | undefined;
|
|
4824
4824
|
maxLength?: number;
|
|
4825
4825
|
}>;
|
|
4826
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4826
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4827
4827
|
parent: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
4828
4828
|
left: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
4829
4829
|
right: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
4830
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4830
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4831
4831
|
min: typeof Vec3;
|
|
4832
4832
|
max: typeof Vec3;
|
|
4833
4833
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4835,12 +4835,12 @@ x?: number;
|
|
|
4835
4835
|
y?: number;
|
|
4836
4836
|
z?: number;
|
|
4837
4837
|
} | undefined>, true, typeof Vec3>;
|
|
4838
|
-
}
|
|
4838
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4839
4839
|
depth: PropertyDefinitionNumber<true>;
|
|
4840
4840
|
objects: PropertyDefinitionReferenceList<Triangle, {
|
|
4841
4841
|
pool: PoolClass<Triangle>;
|
|
4842
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4843
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4842
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4843
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4844
4844
|
min: typeof Vec3;
|
|
4845
4845
|
max: typeof Vec3;
|
|
4846
4846
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4848,7 +4848,7 @@ x?: number;
|
|
|
4848
4848
|
y?: number;
|
|
4849
4849
|
z?: number;
|
|
4850
4850
|
} | undefined>, true, typeof Vec3>;
|
|
4851
|
-
}
|
|
4851
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4852
4852
|
normal: PropertyDefinition_2<NoInfer<number[] | {
|
|
4853
4853
|
x?: number;
|
|
4854
4854
|
y?: number;
|
|
@@ -4859,10 +4859,10 @@ b: typeof Vec3;
|
|
|
4859
4859
|
c: typeof Vec3;
|
|
4860
4860
|
subShapeId: PropertyDefinitionNumber<true>;
|
|
4861
4861
|
activeEdges: PropertyDefinitionNumber<true>;
|
|
4862
|
-
}
|
|
4862
|
+
}>> | undefined)[] | undefined;
|
|
4863
4863
|
maxLength?: number;
|
|
4864
4864
|
}>;
|
|
4865
|
-
}
|
|
4865
|
+
}>> | undefined>;
|
|
4866
4866
|
|
|
4867
4867
|
declare class TriangleMeshBvhTree extends TriangleMeshBvhTree_base {
|
|
4868
4868
|
intersectStack: TriangleMeshBvhNode[];
|
|
@@ -4872,7 +4872,7 @@ declare class TriangleMeshBvhTree extends TriangleMeshBvhTree_base {
|
|
|
4872
4872
|
parent: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
4873
4873
|
left: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
4874
4874
|
right: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
4875
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4875
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4876
4876
|
min: typeof Vec3;
|
|
4877
4877
|
max: typeof Vec3;
|
|
4878
4878
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4880,12 +4880,12 @@ declare class TriangleMeshBvhTree extends TriangleMeshBvhTree_base {
|
|
|
4880
4880
|
y?: number;
|
|
4881
4881
|
z?: number;
|
|
4882
4882
|
} | undefined>, true, typeof Vec3>;
|
|
4883
|
-
}
|
|
4883
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4884
4884
|
depth: PropertyDefinitionNumber<true>;
|
|
4885
4885
|
objects: PropertyDefinitionReferenceList<Triangle, {
|
|
4886
4886
|
pool: PoolClass<Triangle>;
|
|
4887
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4888
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4887
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4888
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4889
4889
|
min: typeof Vec3;
|
|
4890
4890
|
max: typeof Vec3;
|
|
4891
4891
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4893,7 +4893,7 @@ declare class TriangleMeshBvhTree extends TriangleMeshBvhTree_base {
|
|
|
4893
4893
|
y?: number;
|
|
4894
4894
|
z?: number;
|
|
4895
4895
|
} | undefined>, true, typeof Vec3>;
|
|
4896
|
-
}
|
|
4896
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4897
4897
|
normal: PropertyDefinition_2<NoInfer<number[] | {
|
|
4898
4898
|
x?: number;
|
|
4899
4899
|
y?: number;
|
|
@@ -4904,14 +4904,14 @@ declare class TriangleMeshBvhTree extends TriangleMeshBvhTree_base {
|
|
|
4904
4904
|
c: typeof Vec3;
|
|
4905
4905
|
subShapeId: PropertyDefinitionNumber<true>;
|
|
4906
4906
|
activeEdges: PropertyDefinitionNumber<true>;
|
|
4907
|
-
}
|
|
4907
|
+
}>> | undefined)[] | undefined;
|
|
4908
4908
|
maxLength?: number;
|
|
4909
4909
|
}>;
|
|
4910
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4910
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4911
4911
|
parent: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
4912
4912
|
left: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
4913
4913
|
right: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
4914
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4914
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4915
4915
|
min: typeof Vec3;
|
|
4916
4916
|
max: typeof Vec3;
|
|
4917
4917
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4919,12 +4919,12 @@ declare class TriangleMeshBvhTree extends TriangleMeshBvhTree_base {
|
|
|
4919
4919
|
y?: number;
|
|
4920
4920
|
z?: number;
|
|
4921
4921
|
} | undefined>, true, typeof Vec3>;
|
|
4922
|
-
}
|
|
4922
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4923
4923
|
depth: PropertyDefinitionNumber<true>;
|
|
4924
4924
|
objects: PropertyDefinitionReferenceList<Triangle, {
|
|
4925
4925
|
pool: PoolClass<Triangle>;
|
|
4926
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4927
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4926
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4927
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4928
4928
|
min: typeof Vec3;
|
|
4929
4929
|
max: typeof Vec3;
|
|
4930
4930
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4932,7 +4932,7 @@ declare class TriangleMeshBvhTree extends TriangleMeshBvhTree_base {
|
|
|
4932
4932
|
y?: number;
|
|
4933
4933
|
z?: number;
|
|
4934
4934
|
} | undefined>, true, typeof Vec3>;
|
|
4935
|
-
}
|
|
4935
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4936
4936
|
normal: PropertyDefinition_2<NoInfer<number[] | {
|
|
4937
4937
|
x?: number;
|
|
4938
4938
|
y?: number;
|
|
@@ -4943,10 +4943,10 @@ declare class TriangleMeshBvhTree extends TriangleMeshBvhTree_base {
|
|
|
4943
4943
|
c: typeof Vec3;
|
|
4944
4944
|
subShapeId: PropertyDefinitionNumber<true>;
|
|
4945
4945
|
activeEdges: PropertyDefinitionNumber<true>;
|
|
4946
|
-
}
|
|
4946
|
+
}>> | undefined)[] | undefined;
|
|
4947
4947
|
maxLength?: number;
|
|
4948
4948
|
}>;
|
|
4949
|
-
}
|
|
4949
|
+
}>> | undefined, TriangleMeshBvhNode> | null;
|
|
4950
4950
|
_buildRecursive(objects: Triangle[], node: TriangleMeshBvhNode, parent: TriangleMeshBvhNode | null): void;
|
|
4951
4951
|
intersectAabb(onHit: (triangle: Triangle) => boolean | undefined, aabb: Aabb): void;
|
|
4952
4952
|
walk(onNode: (node: TriangleMeshBvhNode) => boolean): void;
|
|
@@ -4958,11 +4958,11 @@ declare class TriangleMeshBvhTree extends TriangleMeshBvhTree_base {
|
|
|
4958
4958
|
declare const TriangleMeshBvhTree_base: Monomorph<TriangleMeshBvhTree, ConvertedInputPropertyDefinitionMap< {
|
|
4959
4959
|
nodes: PropertyDefinitionReferenceList<TriangleMeshBvhNode, {
|
|
4960
4960
|
pool: PoolClass<TriangleMeshBvhNode>;
|
|
4961
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4961
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4962
4962
|
parent: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
4963
4963
|
left: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
4964
4964
|
right: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
4965
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4965
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4966
4966
|
min: typeof Vec3;
|
|
4967
4967
|
max: typeof Vec3;
|
|
4968
4968
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4970,12 +4970,12 @@ x?: number;
|
|
|
4970
4970
|
y?: number;
|
|
4971
4971
|
z?: number;
|
|
4972
4972
|
} | undefined>, true, typeof Vec3>;
|
|
4973
|
-
}
|
|
4973
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4974
4974
|
depth: PropertyDefinitionNumber<true>;
|
|
4975
4975
|
objects: PropertyDefinitionReferenceList<Triangle, {
|
|
4976
4976
|
pool: PoolClass<Triangle>;
|
|
4977
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4978
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
4977
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4978
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
4979
4979
|
min: typeof Vec3;
|
|
4980
4980
|
max: typeof Vec3;
|
|
4981
4981
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -4983,7 +4983,7 @@ x?: number;
|
|
|
4983
4983
|
y?: number;
|
|
4984
4984
|
z?: number;
|
|
4985
4985
|
} | undefined>, true, typeof Vec3>;
|
|
4986
|
-
}
|
|
4986
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
4987
4987
|
normal: PropertyDefinition_2<NoInfer<number[] | {
|
|
4988
4988
|
x?: number;
|
|
4989
4989
|
y?: number;
|
|
@@ -4994,20 +4994,20 @@ b: typeof Vec3;
|
|
|
4994
4994
|
c: typeof Vec3;
|
|
4995
4995
|
subShapeId: PropertyDefinitionNumber<true>;
|
|
4996
4996
|
activeEdges: PropertyDefinitionNumber<true>;
|
|
4997
|
-
}
|
|
4997
|
+
}>> | undefined)[] | undefined;
|
|
4998
4998
|
maxLength?: number;
|
|
4999
4999
|
}>;
|
|
5000
|
-
}
|
|
5000
|
+
}>> | undefined)[] | undefined;
|
|
5001
5001
|
maxLength?: number;
|
|
5002
5002
|
}>;
|
|
5003
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
5003
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
5004
5004
|
nodes: PropertyDefinitionReferenceList<TriangleMeshBvhNode, {
|
|
5005
5005
|
pool: PoolClass<TriangleMeshBvhNode>;
|
|
5006
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
5006
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
5007
5007
|
parent: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
5008
5008
|
left: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
5009
5009
|
right: PropertyDefinitionReference<TriangleMeshBvhNode | null, true>;
|
|
5010
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
5010
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
5011
5011
|
min: typeof Vec3;
|
|
5012
5012
|
max: typeof Vec3;
|
|
5013
5013
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -5015,12 +5015,12 @@ x?: number;
|
|
|
5015
5015
|
y?: number;
|
|
5016
5016
|
z?: number;
|
|
5017
5017
|
} | undefined>, true, typeof Vec3>;
|
|
5018
|
-
}
|
|
5018
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
5019
5019
|
depth: PropertyDefinitionNumber<true>;
|
|
5020
5020
|
objects: PropertyDefinitionReferenceList<Triangle, {
|
|
5021
5021
|
pool: PoolClass<Triangle>;
|
|
5022
|
-
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
5023
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
5022
|
+
items?: (PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
5023
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
5024
5024
|
min: typeof Vec3;
|
|
5025
5025
|
max: typeof Vec3;
|
|
5026
5026
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -5028,7 +5028,7 @@ x?: number;
|
|
|
5028
5028
|
y?: number;
|
|
5029
5029
|
z?: number;
|
|
5030
5030
|
} | undefined>, true, typeof Vec3>;
|
|
5031
|
-
}
|
|
5031
|
+
}>> | undefined>, true, typeof Aabb>;
|
|
5032
5032
|
normal: PropertyDefinition_2<NoInfer<number[] | {
|
|
5033
5033
|
x?: number;
|
|
5034
5034
|
y?: number;
|
|
@@ -5039,13 +5039,13 @@ b: typeof Vec3;
|
|
|
5039
5039
|
c: typeof Vec3;
|
|
5040
5040
|
subShapeId: PropertyDefinitionNumber<true>;
|
|
5041
5041
|
activeEdges: PropertyDefinitionNumber<true>;
|
|
5042
|
-
}
|
|
5042
|
+
}>> | undefined)[] | undefined;
|
|
5043
5043
|
maxLength?: number;
|
|
5044
5044
|
}>;
|
|
5045
|
-
}
|
|
5045
|
+
}>> | undefined)[] | undefined;
|
|
5046
5046
|
maxLength?: number;
|
|
5047
5047
|
}>;
|
|
5048
|
-
}
|
|
5048
|
+
}>> | undefined>;
|
|
5049
5049
|
|
|
5050
5050
|
/**
|
|
5051
5051
|
* Specialized triangles list that keeps them sorted on closest distance to origin
|
|
@@ -5299,7 +5299,7 @@ export declare class World {
|
|
|
5299
5299
|
y?: number;
|
|
5300
5300
|
z?: number;
|
|
5301
5301
|
} | undefined>, true, typeof Vec3>;
|
|
5302
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
5302
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
5303
5303
|
min: typeof Vec3;
|
|
5304
5304
|
max: typeof Vec3;
|
|
5305
5305
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -5307,8 +5307,8 @@ export declare class World {
|
|
|
5307
5307
|
y?: number;
|
|
5308
5308
|
z?: number;
|
|
5309
5309
|
} | undefined>, true, typeof Vec3>;
|
|
5310
|
-
}
|
|
5311
|
-
computedExpandedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
5310
|
+
}>> | undefined>, true, Aabb>;
|
|
5311
|
+
computedExpandedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
5312
5312
|
min: typeof Vec3;
|
|
5313
5313
|
max: typeof Vec3;
|
|
5314
5314
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -5316,7 +5316,7 @@ export declare class World {
|
|
|
5316
5316
|
y?: number;
|
|
5317
5317
|
z?: number;
|
|
5318
5318
|
} | undefined>, true, typeof Vec3>;
|
|
5319
|
-
}
|
|
5319
|
+
}>> | undefined>, true, Aabb>;
|
|
5320
5320
|
previousPosition: PropertyDefinition_2<NoInfer<number[] | {
|
|
5321
5321
|
x?: number;
|
|
5322
5322
|
y?: number;
|
|
@@ -5337,7 +5337,7 @@ export declare class World {
|
|
|
5337
5337
|
mass: number;
|
|
5338
5338
|
density: number;
|
|
5339
5339
|
inverseMass: PropertyDefinitionNumber<true>;
|
|
5340
|
-
computedLocalInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
5340
|
+
computedLocalInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
5341
5341
|
e0: number;
|
|
5342
5342
|
e1: number;
|
|
5343
5343
|
e2: number;
|
|
@@ -5347,8 +5347,8 @@ export declare class World {
|
|
|
5347
5347
|
e6: number;
|
|
5348
5348
|
e7: number;
|
|
5349
5349
|
e8: number;
|
|
5350
|
-
}
|
|
5351
|
-
computedWorldInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
5350
|
+
}>> | undefined>, true, Mat3>;
|
|
5351
|
+
computedWorldInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
5352
5352
|
e0: number;
|
|
5353
5353
|
e1: number;
|
|
5354
5354
|
e2: number;
|
|
@@ -5358,7 +5358,7 @@ export declare class World {
|
|
|
5358
5358
|
e6: number;
|
|
5359
5359
|
e7: number;
|
|
5360
5360
|
e8: number;
|
|
5361
|
-
}
|
|
5361
|
+
}>> | undefined>, true, Mat3>;
|
|
5362
5362
|
colliderType: PropertyDefinition_2<ColliderType, true>;
|
|
5363
5363
|
gravityScale: number;
|
|
5364
5364
|
linearForces: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -5390,7 +5390,7 @@ export declare class World {
|
|
|
5390
5390
|
angularDamping: number;
|
|
5391
5391
|
firstPotentialConstraintPairEdge: PropertyDefinitionReference<ConstraintPairEdge | null, true>;
|
|
5392
5392
|
visitGeneration: PropertyDefinitionNumber<true>;
|
|
5393
|
-
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
5393
|
+
}>, PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
5394
5394
|
type: PropertyDefinition_2<BodyType, true>;
|
|
5395
5395
|
position: typeof Vec3;
|
|
5396
5396
|
orientation: Quat;
|
|
@@ -5401,7 +5401,7 @@ export declare class World {
|
|
|
5401
5401
|
y?: number;
|
|
5402
5402
|
z?: number;
|
|
5403
5403
|
} | undefined>, true, typeof Vec3>;
|
|
5404
|
-
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
5404
|
+
computedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
5405
5405
|
min: typeof Vec3;
|
|
5406
5406
|
max: typeof Vec3;
|
|
5407
5407
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -5409,8 +5409,8 @@ export declare class World {
|
|
|
5409
5409
|
y?: number;
|
|
5410
5410
|
z?: number;
|
|
5411
5411
|
} | undefined>, true, typeof Vec3>;
|
|
5412
|
-
}
|
|
5413
|
-
computedExpandedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
5412
|
+
}>> | undefined>, true, Aabb>;
|
|
5413
|
+
computedExpandedBounds: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
5414
5414
|
min: typeof Vec3;
|
|
5415
5415
|
max: typeof Vec3;
|
|
5416
5416
|
centroid: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -5418,7 +5418,7 @@ export declare class World {
|
|
|
5418
5418
|
y?: number;
|
|
5419
5419
|
z?: number;
|
|
5420
5420
|
} | undefined>, true, typeof Vec3>;
|
|
5421
|
-
}
|
|
5421
|
+
}>> | undefined>, true, Aabb>;
|
|
5422
5422
|
previousPosition: PropertyDefinition_2<NoInfer<number[] | {
|
|
5423
5423
|
x?: number;
|
|
5424
5424
|
y?: number;
|
|
@@ -5439,7 +5439,7 @@ export declare class World {
|
|
|
5439
5439
|
mass: number;
|
|
5440
5440
|
density: number;
|
|
5441
5441
|
inverseMass: PropertyDefinitionNumber<true>;
|
|
5442
|
-
computedLocalInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
5442
|
+
computedLocalInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
5443
5443
|
e0: number;
|
|
5444
5444
|
e1: number;
|
|
5445
5445
|
e2: number;
|
|
@@ -5449,8 +5449,8 @@ export declare class World {
|
|
|
5449
5449
|
e6: number;
|
|
5450
5450
|
e7: number;
|
|
5451
5451
|
e8: number;
|
|
5452
|
-
}
|
|
5453
|
-
computedWorldInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap<
|
|
5452
|
+
}>> | undefined>, true, Mat3>;
|
|
5453
|
+
computedWorldInverseInertia: PropertyDefinition_2<NoInfer<PropertyDefinitionMapInput<ConvertedInputPropertyDefinitionMap< {
|
|
5454
5454
|
e0: number;
|
|
5455
5455
|
e1: number;
|
|
5456
5456
|
e2: number;
|
|
@@ -5460,7 +5460,7 @@ export declare class World {
|
|
|
5460
5460
|
e6: number;
|
|
5461
5461
|
e7: number;
|
|
5462
5462
|
e8: number;
|
|
5463
|
-
}
|
|
5463
|
+
}>> | undefined>, true, Mat3>;
|
|
5464
5464
|
colliderType: PropertyDefinition_2<ColliderType, true>;
|
|
5465
5465
|
gravityScale: number;
|
|
5466
5466
|
linearForces: PropertyDefinition_2<NoInfer<number[] | {
|
|
@@ -5492,7 +5492,7 @@ export declare class World {
|
|
|
5492
5492
|
angularDamping: number;
|
|
5493
5493
|
firstPotentialConstraintPairEdge: PropertyDefinitionReference<ConstraintPairEdge | null, true>;
|
|
5494
5494
|
visitGeneration: PropertyDefinitionNumber<true>;
|
|
5495
|
-
}
|
|
5495
|
+
}>> & {
|
|
5496
5496
|
shape: Shape;
|
|
5497
5497
|
world?: World | null;
|
|
5498
5498
|
}, Body_2>;
|