@newkrok/nape-js 3.9.0 → 3.9.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.
@@ -7,7 +7,6 @@
7
7
  * Converted from nape-compiled.js lines 23448–27180.
8
8
  */
9
9
  declare class Vec2 {
10
- static __name__: string[];
11
10
  /**
12
11
  * Creates a Vec2 with the given components. Defaults to (0, 0).
13
12
  *
@@ -296,7 +295,6 @@ type NapeInner = any;
296
295
  * Converted from nape-compiled.js lines 24120–25040.
297
296
  */
298
297
  declare class Vec3 {
299
- static __name__: string[];
300
298
  /**
301
299
  * Create a Vec3 with the given components. Defaults to (0, 0, 0).
302
300
  * @param x - The x component.
@@ -390,7 +388,6 @@ declare class Vec3 {
390
388
  * Converted from nape-compiled.js lines 20507–21760.
391
389
  */
392
390
  declare class Mat23 {
393
- static __name__: string[];
394
391
  /**
395
392
  * Create a Mat23 with the given components. Defaults to the identity matrix `[1 0 0; 0 1 0]`.
396
393
  * @param a - Component at row 0, col 0.
@@ -564,7 +561,6 @@ declare class Mat23 {
564
561
  * Converted from nape-compiled.js lines 14950–15653.
565
562
  */
566
563
  declare class AABB {
567
- static __name__: string[];
568
564
  /**
569
565
  * Create an AABB at position (x, y) with the given width and height. All
570
566
  * values default to 0.
@@ -656,7 +652,6 @@ declare class AABB {
656
652
  * Converted from nape-compiled.js lines 17261–17395.
657
653
  */
658
654
  declare class MatMN {
659
- static __name__: string[];
660
655
  /**
661
656
  * Create a zero-filled M×N matrix. Both dimensions must be ≥ 1.
662
657
  * @param rows - Number of rows (must be ≥ 1).
@@ -720,7 +715,6 @@ declare class MatMN {
720
715
  * Fully modernized — uses ZPP_Ray directly (extracted to TypeScript).
721
716
  */
722
717
  declare class Ray {
723
- static __name__: string[];
724
718
  /**
725
719
  * Create a Ray from an origin point and a direction vector.
726
720
  * Both must be non-null, non-disposed Vec2s.
@@ -831,7 +825,6 @@ declare class NapeList<T> implements Iterable<T> {
831
825
  * Converted from nape-compiled.js lines 14641–14733.
832
826
  */
833
827
  declare class InteractionGroup {
834
- static __name__: string[];
835
828
  constructor(ignore?: boolean);
836
829
  get group(): InteractionGroup | null;
837
830
  set group(value: InteractionGroup | null);
@@ -884,8 +877,6 @@ declare class Interactor {
884
877
  * Fully modernized — uses ZPP_Compound directly (extracted to TypeScript).
885
878
  */
886
879
  declare class Compound extends Interactor {
887
- static __name__: string[];
888
- static __super__: typeof Interactor;
889
880
  constructor();
890
881
  /** Bodies in this compound. */
891
882
  get bodies(): object;
@@ -937,7 +928,6 @@ declare class Compound extends Interactor {
937
928
  * Fully modernized — uses ZPP_Constraint directly (extracted to TypeScript).
938
929
  */
939
930
  declare class Constraint {
940
- static __name__: string[];
941
931
  debugDraw: boolean;
942
932
  /**
943
933
  * The space this constraint belongs to, or `null` if not in a space.
@@ -1092,7 +1082,6 @@ declare class Constraint {
1092
1082
  * Converted from nape-compiled.js lines 14361–14640.
1093
1083
  */
1094
1084
  declare class InteractionFilter {
1095
- static __name__: string[];
1096
1085
  /**
1097
1086
  * @param collisionGroup - Collision group bits (default 1).
1098
1087
  * @param collisionMask - Collision mask bits (default -1, all bits set).
@@ -1155,7 +1144,6 @@ declare class InteractionFilter {
1155
1144
  * Instances are pooled — call `dispose()` when done to return to pool.
1156
1145
  */
1157
1146
  declare class RayResult {
1158
- static __name__: string[];
1159
1147
  constructor();
1160
1148
  get normal(): Vec2;
1161
1149
  get distance(): number;
@@ -1174,7 +1162,6 @@ declare class RayResult {
1174
1162
  * Converted from nape-compiled.js lines 30858–30909.
1175
1163
  */
1176
1164
  declare class Broadphase {
1177
- static __name__: string[];
1178
1165
  constructor();
1179
1166
  static get DYNAMIC_AABB_TREE(): Broadphase;
1180
1167
  static get SWEEP_AND_PRUNE(): Broadphase;
@@ -1193,7 +1180,6 @@ declare class Broadphase {
1193
1180
  * Converted from nape-compiled.js lines 1785–1883.
1194
1181
  */
1195
1182
  declare class InteractionType {
1196
- static __name__: string[];
1197
1183
  constructor();
1198
1184
  /** Physical collision between solid shapes (default for most shapes). */
1199
1185
  static get COLLISION(): InteractionType;
@@ -1261,7 +1247,6 @@ interface TypedListLike<T> extends Iterable<T> {
1261
1247
  * Converted from nape-compiled.js lines 11653–11725.
1262
1248
  */
1263
1249
  declare class ArbiterType {
1264
- static __name__: string[];
1265
1250
  constructor();
1266
1251
  static get COLLISION(): ArbiterType;
1267
1252
  static get SENSOR(): ArbiterType;
@@ -1279,7 +1264,6 @@ declare class ArbiterType {
1279
1264
  * Converted from nape-compiled.js lines 38254–38573.
1280
1265
  */
1281
1266
  declare class Material {
1282
- static __name__: string[];
1283
1267
  constructor(elasticity?: number, dynamicFriction?: number, staticFriction?: number, density?: number, rollingFriction?: number);
1284
1268
  get elasticity(): number;
1285
1269
  set elasticity(value: number);
@@ -1306,8 +1290,6 @@ declare class Material {
1306
1290
  * A convex polygon physics shape.
1307
1291
  */
1308
1292
  declare class Polygon extends Shape {
1309
- static __name__: string[];
1310
- static __super__: any;
1311
1293
  /**
1312
1294
  * Create a Polygon from a list of Vec2 vertices. Vertices must form a convex polygon
1313
1295
  * in counter-clockwise order.
@@ -1367,7 +1349,6 @@ declare class Polygon extends Shape {
1367
1349
  * Fully modernized — all getters access ZPP_Edge directly.
1368
1350
  */
1369
1351
  declare class Edge {
1370
- static __name__: string[];
1371
1352
  constructor();
1372
1353
  /** Parent polygon. */
1373
1354
  get polygon(): Polygon;
@@ -1410,8 +1391,6 @@ declare class Edge {
1410
1391
  * Fully modernized — uses extracted ZPP_ColArbiter directly.
1411
1392
  */
1412
1393
  declare class CollisionArbiter extends Arbiter {
1413
- static __name__: string[];
1414
- static __super__: typeof Arbiter;
1415
1394
  constructor();
1416
1395
  /**
1417
1396
  * The list of active contact points between the two shapes.
@@ -1495,8 +1474,6 @@ declare class CollisionArbiter extends Arbiter {
1495
1474
  * Fully modernized — uses extracted ZPP_FluidArbiter directly.
1496
1475
  */
1497
1476
  declare class FluidArbiter extends Arbiter {
1498
- static __name__: string[];
1499
- static __super__: typeof Arbiter;
1500
1477
  constructor();
1501
1478
  /**
1502
1479
  * Centre of the overlap region between the fluid and the body shape.
@@ -1540,7 +1517,6 @@ declare class FluidArbiter extends Arbiter {
1540
1517
  * Converted from nape-compiled.js lines 2504–2591.
1541
1518
  */
1542
1519
  declare class PreFlag {
1543
- static __name__: string[];
1544
1520
  constructor();
1545
1521
  /** Accept and resolve the interaction normally. */
1546
1522
  static get ACCEPT(): PreFlag;
@@ -1572,7 +1548,6 @@ declare class PreFlag {
1572
1548
  * Fully modernized — uses extracted ZPP_Arbiter directly.
1573
1549
  */
1574
1550
  declare class Arbiter {
1575
- static __name__: string[];
1576
1551
  constructor();
1577
1552
  /**
1578
1553
  * Whether both interacting bodies are currently sleeping.
@@ -1642,7 +1617,6 @@ declare class Arbiter {
1642
1617
  * Converted from nape-compiled.js lines 516–657.
1643
1618
  */
1644
1619
  declare class CbEvent {
1645
- static __name__: string[];
1646
1620
  constructor();
1647
1621
  /** Interaction-start event. Fired once when two interactors first make contact. */
1648
1622
  static get BEGIN(): CbEvent;
@@ -1672,7 +1646,6 @@ declare class CbEvent {
1672
1646
  * Converted from nape-compiled.js lines 2554–2646.
1673
1647
  */
1674
1648
  declare class ListenerType {
1675
- static __name__: string[];
1676
1649
  constructor();
1677
1650
  static get BODY(): ListenerType;
1678
1651
  static get CONSTRAINT(): ListenerType;
@@ -1703,7 +1676,6 @@ declare class ListenerType {
1703
1676
  * Fully modernized from nape-compiled.js lines 231–433.
1704
1677
  */
1705
1678
  declare class Listener {
1706
- static __name__: string[];
1707
1679
  constructor();
1708
1680
  /** The type of this listener (BODY, CONSTRAINT, INTERACTION, or PRE). */
1709
1681
  get type(): ListenerType;
@@ -2114,7 +2086,6 @@ declare class Space {
2114
2086
  * Converted from nape-compiled.js lines 24640–24705.
2115
2087
  */
2116
2088
  declare class BodyType {
2117
- static __name__: string[];
2118
2089
  constructor();
2119
2090
  static get STATIC(): BodyType;
2120
2091
  static get DYNAMIC(): BodyType;
@@ -2132,7 +2103,6 @@ declare class BodyType {
2132
2103
  * Converted from nape-compiled.js lines 37002–37511.
2133
2104
  */
2134
2105
  declare class FluidProperties {
2135
- static __name__: string[];
2136
2106
  constructor(density?: number, viscosity?: number);
2137
2107
  get density(): number;
2138
2108
  set density(value: number);
@@ -2155,7 +2125,6 @@ declare class FluidProperties {
2155
2125
  * Converted from nape-compiled.js lines 26966–27013.
2156
2126
  */
2157
2127
  declare class MassMode {
2158
- static __name__: string[];
2159
2128
  constructor();
2160
2129
  static get DEFAULT(): MassMode;
2161
2130
  static get FIXED(): MassMode;
@@ -2171,7 +2140,6 @@ declare class MassMode {
2171
2140
  * Converted from nape-compiled.js lines 26343–26390.
2172
2141
  */
2173
2142
  declare class InertiaMode {
2174
- static __name__: string[];
2175
2143
  constructor();
2176
2144
  static get DEFAULT(): InertiaMode;
2177
2145
  static get FIXED(): InertiaMode;
@@ -2188,7 +2156,6 @@ declare class InertiaMode {
2188
2156
  * Converted from nape-compiled.js lines 26272–26342.
2189
2157
  */
2190
2158
  declare class GravMassMode {
2191
- static __name__: string[];
2192
2159
  constructor();
2193
2160
  static get DEFAULT(): GravMassMode;
2194
2161
  static get FIXED(): GravMassMode;
@@ -2200,8 +2167,6 @@ declare class GravMassMode {
2200
2167
  * A rigid body in the physics simulation. Add shapes to give it geometry, then add it to a `Space` to participate in simulation.
2201
2168
  */
2202
2169
  declare class Body extends Interactor {
2203
- static __name__: string[];
2204
- static __super__: typeof Interactor;
2205
2170
  /** If true, this body is included in debug rendering. */
2206
2171
  debugDraw: boolean;
2207
2172
  /**
@@ -2552,7 +2517,6 @@ declare class Body extends Interactor {
2552
2517
  * Converted from nape-compiled.js lines 30435–30482.
2553
2518
  */
2554
2519
  declare class ShapeType {
2555
- static __name__: string[];
2556
2520
  constructor();
2557
2521
  static get CIRCLE(): ShapeType;
2558
2522
  static get POLYGON(): ShapeType;
@@ -2677,7 +2641,6 @@ interface CbTypeSet {
2677
2641
  * Instances are pooled — call `dispose()` when done to return to pool.
2678
2642
  */
2679
2643
  declare class ConvexResult {
2680
- static __name__: string[];
2681
2644
  constructor();
2682
2645
  get normal(): Vec2;
2683
2646
  get position(): Vec2;
@@ -7,7 +7,6 @@
7
7
  * Converted from nape-compiled.js lines 23448–27180.
8
8
  */
9
9
  declare class Vec2 {
10
- static __name__: string[];
11
10
  /**
12
11
  * Creates a Vec2 with the given components. Defaults to (0, 0).
13
12
  *
@@ -296,7 +295,6 @@ type NapeInner = any;
296
295
  * Converted from nape-compiled.js lines 24120–25040.
297
296
  */
298
297
  declare class Vec3 {
299
- static __name__: string[];
300
298
  /**
301
299
  * Create a Vec3 with the given components. Defaults to (0, 0, 0).
302
300
  * @param x - The x component.
@@ -390,7 +388,6 @@ declare class Vec3 {
390
388
  * Converted from nape-compiled.js lines 20507–21760.
391
389
  */
392
390
  declare class Mat23 {
393
- static __name__: string[];
394
391
  /**
395
392
  * Create a Mat23 with the given components. Defaults to the identity matrix `[1 0 0; 0 1 0]`.
396
393
  * @param a - Component at row 0, col 0.
@@ -564,7 +561,6 @@ declare class Mat23 {
564
561
  * Converted from nape-compiled.js lines 14950–15653.
565
562
  */
566
563
  declare class AABB {
567
- static __name__: string[];
568
564
  /**
569
565
  * Create an AABB at position (x, y) with the given width and height. All
570
566
  * values default to 0.
@@ -656,7 +652,6 @@ declare class AABB {
656
652
  * Converted from nape-compiled.js lines 17261–17395.
657
653
  */
658
654
  declare class MatMN {
659
- static __name__: string[];
660
655
  /**
661
656
  * Create a zero-filled M×N matrix. Both dimensions must be ≥ 1.
662
657
  * @param rows - Number of rows (must be ≥ 1).
@@ -720,7 +715,6 @@ declare class MatMN {
720
715
  * Fully modernized — uses ZPP_Ray directly (extracted to TypeScript).
721
716
  */
722
717
  declare class Ray {
723
- static __name__: string[];
724
718
  /**
725
719
  * Create a Ray from an origin point and a direction vector.
726
720
  * Both must be non-null, non-disposed Vec2s.
@@ -831,7 +825,6 @@ declare class NapeList<T> implements Iterable<T> {
831
825
  * Converted from nape-compiled.js lines 14641–14733.
832
826
  */
833
827
  declare class InteractionGroup {
834
- static __name__: string[];
835
828
  constructor(ignore?: boolean);
836
829
  get group(): InteractionGroup | null;
837
830
  set group(value: InteractionGroup | null);
@@ -884,8 +877,6 @@ declare class Interactor {
884
877
  * Fully modernized — uses ZPP_Compound directly (extracted to TypeScript).
885
878
  */
886
879
  declare class Compound extends Interactor {
887
- static __name__: string[];
888
- static __super__: typeof Interactor;
889
880
  constructor();
890
881
  /** Bodies in this compound. */
891
882
  get bodies(): object;
@@ -937,7 +928,6 @@ declare class Compound extends Interactor {
937
928
  * Fully modernized — uses ZPP_Constraint directly (extracted to TypeScript).
938
929
  */
939
930
  declare class Constraint {
940
- static __name__: string[];
941
931
  debugDraw: boolean;
942
932
  /**
943
933
  * The space this constraint belongs to, or `null` if not in a space.
@@ -1092,7 +1082,6 @@ declare class Constraint {
1092
1082
  * Converted from nape-compiled.js lines 14361–14640.
1093
1083
  */
1094
1084
  declare class InteractionFilter {
1095
- static __name__: string[];
1096
1085
  /**
1097
1086
  * @param collisionGroup - Collision group bits (default 1).
1098
1087
  * @param collisionMask - Collision mask bits (default -1, all bits set).
@@ -1155,7 +1144,6 @@ declare class InteractionFilter {
1155
1144
  * Instances are pooled — call `dispose()` when done to return to pool.
1156
1145
  */
1157
1146
  declare class RayResult {
1158
- static __name__: string[];
1159
1147
  constructor();
1160
1148
  get normal(): Vec2;
1161
1149
  get distance(): number;
@@ -1174,7 +1162,6 @@ declare class RayResult {
1174
1162
  * Converted from nape-compiled.js lines 30858–30909.
1175
1163
  */
1176
1164
  declare class Broadphase {
1177
- static __name__: string[];
1178
1165
  constructor();
1179
1166
  static get DYNAMIC_AABB_TREE(): Broadphase;
1180
1167
  static get SWEEP_AND_PRUNE(): Broadphase;
@@ -1193,7 +1180,6 @@ declare class Broadphase {
1193
1180
  * Converted from nape-compiled.js lines 1785–1883.
1194
1181
  */
1195
1182
  declare class InteractionType {
1196
- static __name__: string[];
1197
1183
  constructor();
1198
1184
  /** Physical collision between solid shapes (default for most shapes). */
1199
1185
  static get COLLISION(): InteractionType;
@@ -1261,7 +1247,6 @@ interface TypedListLike<T> extends Iterable<T> {
1261
1247
  * Converted from nape-compiled.js lines 11653–11725.
1262
1248
  */
1263
1249
  declare class ArbiterType {
1264
- static __name__: string[];
1265
1250
  constructor();
1266
1251
  static get COLLISION(): ArbiterType;
1267
1252
  static get SENSOR(): ArbiterType;
@@ -1279,7 +1264,6 @@ declare class ArbiterType {
1279
1264
  * Converted from nape-compiled.js lines 38254–38573.
1280
1265
  */
1281
1266
  declare class Material {
1282
- static __name__: string[];
1283
1267
  constructor(elasticity?: number, dynamicFriction?: number, staticFriction?: number, density?: number, rollingFriction?: number);
1284
1268
  get elasticity(): number;
1285
1269
  set elasticity(value: number);
@@ -1306,8 +1290,6 @@ declare class Material {
1306
1290
  * A convex polygon physics shape.
1307
1291
  */
1308
1292
  declare class Polygon extends Shape {
1309
- static __name__: string[];
1310
- static __super__: any;
1311
1293
  /**
1312
1294
  * Create a Polygon from a list of Vec2 vertices. Vertices must form a convex polygon
1313
1295
  * in counter-clockwise order.
@@ -1367,7 +1349,6 @@ declare class Polygon extends Shape {
1367
1349
  * Fully modernized — all getters access ZPP_Edge directly.
1368
1350
  */
1369
1351
  declare class Edge {
1370
- static __name__: string[];
1371
1352
  constructor();
1372
1353
  /** Parent polygon. */
1373
1354
  get polygon(): Polygon;
@@ -1410,8 +1391,6 @@ declare class Edge {
1410
1391
  * Fully modernized — uses extracted ZPP_ColArbiter directly.
1411
1392
  */
1412
1393
  declare class CollisionArbiter extends Arbiter {
1413
- static __name__: string[];
1414
- static __super__: typeof Arbiter;
1415
1394
  constructor();
1416
1395
  /**
1417
1396
  * The list of active contact points between the two shapes.
@@ -1495,8 +1474,6 @@ declare class CollisionArbiter extends Arbiter {
1495
1474
  * Fully modernized — uses extracted ZPP_FluidArbiter directly.
1496
1475
  */
1497
1476
  declare class FluidArbiter extends Arbiter {
1498
- static __name__: string[];
1499
- static __super__: typeof Arbiter;
1500
1477
  constructor();
1501
1478
  /**
1502
1479
  * Centre of the overlap region between the fluid and the body shape.
@@ -1540,7 +1517,6 @@ declare class FluidArbiter extends Arbiter {
1540
1517
  * Converted from nape-compiled.js lines 2504–2591.
1541
1518
  */
1542
1519
  declare class PreFlag {
1543
- static __name__: string[];
1544
1520
  constructor();
1545
1521
  /** Accept and resolve the interaction normally. */
1546
1522
  static get ACCEPT(): PreFlag;
@@ -1572,7 +1548,6 @@ declare class PreFlag {
1572
1548
  * Fully modernized — uses extracted ZPP_Arbiter directly.
1573
1549
  */
1574
1550
  declare class Arbiter {
1575
- static __name__: string[];
1576
1551
  constructor();
1577
1552
  /**
1578
1553
  * Whether both interacting bodies are currently sleeping.
@@ -1642,7 +1617,6 @@ declare class Arbiter {
1642
1617
  * Converted from nape-compiled.js lines 516–657.
1643
1618
  */
1644
1619
  declare class CbEvent {
1645
- static __name__: string[];
1646
1620
  constructor();
1647
1621
  /** Interaction-start event. Fired once when two interactors first make contact. */
1648
1622
  static get BEGIN(): CbEvent;
@@ -1672,7 +1646,6 @@ declare class CbEvent {
1672
1646
  * Converted from nape-compiled.js lines 2554–2646.
1673
1647
  */
1674
1648
  declare class ListenerType {
1675
- static __name__: string[];
1676
1649
  constructor();
1677
1650
  static get BODY(): ListenerType;
1678
1651
  static get CONSTRAINT(): ListenerType;
@@ -1703,7 +1676,6 @@ declare class ListenerType {
1703
1676
  * Fully modernized from nape-compiled.js lines 231–433.
1704
1677
  */
1705
1678
  declare class Listener {
1706
- static __name__: string[];
1707
1679
  constructor();
1708
1680
  /** The type of this listener (BODY, CONSTRAINT, INTERACTION, or PRE). */
1709
1681
  get type(): ListenerType;
@@ -2114,7 +2086,6 @@ declare class Space {
2114
2086
  * Converted from nape-compiled.js lines 24640–24705.
2115
2087
  */
2116
2088
  declare class BodyType {
2117
- static __name__: string[];
2118
2089
  constructor();
2119
2090
  static get STATIC(): BodyType;
2120
2091
  static get DYNAMIC(): BodyType;
@@ -2132,7 +2103,6 @@ declare class BodyType {
2132
2103
  * Converted from nape-compiled.js lines 37002–37511.
2133
2104
  */
2134
2105
  declare class FluidProperties {
2135
- static __name__: string[];
2136
2106
  constructor(density?: number, viscosity?: number);
2137
2107
  get density(): number;
2138
2108
  set density(value: number);
@@ -2155,7 +2125,6 @@ declare class FluidProperties {
2155
2125
  * Converted from nape-compiled.js lines 26966–27013.
2156
2126
  */
2157
2127
  declare class MassMode {
2158
- static __name__: string[];
2159
2128
  constructor();
2160
2129
  static get DEFAULT(): MassMode;
2161
2130
  static get FIXED(): MassMode;
@@ -2171,7 +2140,6 @@ declare class MassMode {
2171
2140
  * Converted from nape-compiled.js lines 26343–26390.
2172
2141
  */
2173
2142
  declare class InertiaMode {
2174
- static __name__: string[];
2175
2143
  constructor();
2176
2144
  static get DEFAULT(): InertiaMode;
2177
2145
  static get FIXED(): InertiaMode;
@@ -2188,7 +2156,6 @@ declare class InertiaMode {
2188
2156
  * Converted from nape-compiled.js lines 26272–26342.
2189
2157
  */
2190
2158
  declare class GravMassMode {
2191
- static __name__: string[];
2192
2159
  constructor();
2193
2160
  static get DEFAULT(): GravMassMode;
2194
2161
  static get FIXED(): GravMassMode;
@@ -2200,8 +2167,6 @@ declare class GravMassMode {
2200
2167
  * A rigid body in the physics simulation. Add shapes to give it geometry, then add it to a `Space` to participate in simulation.
2201
2168
  */
2202
2169
  declare class Body extends Interactor {
2203
- static __name__: string[];
2204
- static __super__: typeof Interactor;
2205
2170
  /** If true, this body is included in debug rendering. */
2206
2171
  debugDraw: boolean;
2207
2172
  /**
@@ -2552,7 +2517,6 @@ declare class Body extends Interactor {
2552
2517
  * Converted from nape-compiled.js lines 30435–30482.
2553
2518
  */
2554
2519
  declare class ShapeType {
2555
- static __name__: string[];
2556
2520
  constructor();
2557
2521
  static get CIRCLE(): ShapeType;
2558
2522
  static get POLYGON(): ShapeType;
@@ -2677,7 +2641,6 @@ interface CbTypeSet {
2677
2641
  * Instances are pooled — call `dispose()` when done to return to pool.
2678
2642
  */
2679
2643
  declare class ConvexResult {
2680
- static __name__: string[];
2681
2644
  constructor();
2682
2645
  get normal(): Vec2;
2683
2646
  get position(): Vec2;