diff --git a/docs/package-lock.json b/docs/package-lock.json index ac58d47b..a47d0d3a 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -12,7 +12,7 @@ "react": "latest", "react-dom": "latest", "typescript": "latest", - "vocs": "latest" + "vocs": "^1.0.0-alpha.50" } }, "node_modules/@alloc/quick-lru": { @@ -392,6 +392,7 @@ }, "node_modules/@clack/prompts/node_modules/is-unicode-supported": { "version": "1.3.0", + "extraneous": true, "inBundle": true, "license": "MIT", "engines": { @@ -7533,9 +7534,9 @@ } }, "node_modules/vocs": { - "version": "1.0.0-alpha.45", - "resolved": "https://registry.npmjs.org/vocs/-/vocs-1.0.0-alpha.45.tgz", - "integrity": "sha512-FUDuN6V0FwAlG8QAg7VHBm0LAGsvtVwxU2FGIW+eTiFQFuuzsV9Ojh4vg3aAYR3VcICL9w7ipsyt+7D0b3dJNw==", + "version": "1.0.0-alpha.50", + "resolved": "https://registry.npmjs.org/vocs/-/vocs-1.0.0-alpha.50.tgz", + "integrity": "sha512-rzZw60A8uKmmgouN1ymPz1/0GPK0cxE4ETYJWs5vZTMS3xcTqKarrvU9rcs0niJUfOR0maSs94eWzrgNBLZO1Q==", "funding": [ { "type": "github", @@ -8064,7 +8065,8 @@ "dependencies": { "is-unicode-supported": { "version": "1.3.0", - "bundled": true + "bundled": true, + "extraneous": true } } }, @@ -12554,9 +12556,9 @@ } }, "vocs": { - "version": "1.0.0-alpha.45", - "resolved": "https://registry.npmjs.org/vocs/-/vocs-1.0.0-alpha.45.tgz", - "integrity": "sha512-FUDuN6V0FwAlG8QAg7VHBm0LAGsvtVwxU2FGIW+eTiFQFuuzsV9Ojh4vg3aAYR3VcICL9w7ipsyt+7D0b3dJNw==", + "version": "1.0.0-alpha.50", + "resolved": "https://registry.npmjs.org/vocs/-/vocs-1.0.0-alpha.50.tgz", + "integrity": "sha512-rzZw60A8uKmmgouN1ymPz1/0GPK0cxE4ETYJWs5vZTMS3xcTqKarrvU9rcs0niJUfOR0maSs94eWzrgNBLZO1Q==", "requires": { "@floating-ui/react": "^0.26.6", "@hono/node-server": "^1.2.3", diff --git a/docs/package.json b/docs/package.json index 22a0a13e..4be4e217 100644 --- a/docs/package.json +++ b/docs/package.json @@ -13,6 +13,6 @@ "react": "latest", "react-dom": "latest", "typescript": "latest", - "vocs": "latest" + "vocs": "^1.0.0-alpha.50" } } diff --git a/docs/pages/api-conventions/factories-and-definitions.md b/docs/pages/api-conventions/factories-and-definitions.md index 8eb675a3..4134a256 100644 --- a/docs/pages/api-conventions/factories-and-definitions.md +++ b/docs/pages/api-conventions/factories-and-definitions.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Factories and Definitions diff --git a/docs/pages/api-conventions/implicit-destruction.md b/docs/pages/api-conventions/implicit-destruction.md index 6a22023c..5454092a 100644 --- a/docs/pages/api-conventions/implicit-destruction.md +++ b/docs/pages/api-conventions/implicit-destruction.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Implicit Destruction diff --git a/docs/pages/api-conventions/units.md b/docs/pages/api-conventions/units.md index 15d0e925..15d30cb8 100644 --- a/docs/pages/api-conventions/units.md +++ b/docs/pages/api-conventions/units.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Units Planck.js works with floating point numbers and tolerances have to be used to make Planck.js perform well. diff --git a/docs/pages/api-conventions/user-data.md b/docs/pages/api-conventions/user-data.md index 70189f45..17281051 100644 --- a/docs/pages/api-conventions/user-data.md +++ b/docs/pages/api-conventions/user-data.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## User Data The `Fixture`, `Body`, and `Joint` classes allow you to attach user data. diff --git a/docs/pages/api/classes/aabb.md b/docs/pages/api/classes/aabb.md index 87718232..1c19e74a 100644 --- a/docs/pages/api/classes/aabb.md +++ b/docs/pages/api/classes/aabb.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: AABB diff --git a/docs/pages/api/classes/body.md b/docs/pages/api/classes/body.md index 902bbe23..de744893 100644 --- a/docs/pages/api/classes/body.md +++ b/docs/pages/api/classes/body.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Body diff --git a/docs/pages/api/classes/boxshape.md b/docs/pages/api/classes/boxshape.md index f778a751..2971ce13 100644 --- a/docs/pages/api/classes/boxshape.md +++ b/docs/pages/api/classes/boxshape.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: BoxShape @@ -20,12 +17,6 @@ A rectangle polygon which extend PolygonShape. ### Properties -* [m_centroid](/api/classes/boxshape#m_centroid) -* [m_count](/api/classes/boxshape#m_count) -* [m_normals](/api/classes/boxshape#m_normals) -* [m_radius](/api/classes/boxshape#m_radius) -* [m_type](/api/classes/boxshape#m_type) -* [m_vertices](/api/classes/boxshape#m_vertices) * [style](/api/classes/boxshape#style) * [TYPE](/api/classes/boxshape#static-type) @@ -46,7 +37,7 @@ A rectangle polygon which extend PolygonShape. ### constructor -\+ **new BoxShape**(`hx`: number, `hy`: number, `center?`: [Vec2Value](/api/interfaces/vec2value), `angle?`: number): *[BoxShape](/api/classes/boxshape)* +\+ **new BoxShape**(`halfWidth`: number, `halfHeight`: number, `center?`: [Vec2Value](/api/interfaces/vec2value), `angle?`: number): *[BoxShape](/api/classes/boxshape)* *Overrides [PolygonShape](/api/classes/polygonshape).[constructor](/api/classes/polygonshape#constructor)* @@ -54,8 +45,8 @@ A rectangle polygon which extend PolygonShape. Name | Type | ------ | ------ | -`hx` | number | -`hy` | number | +`halfWidth` | number | +`halfHeight` | number | `center?` | [Vec2Value](/api/interfaces/vec2value) | `angle?` | number | @@ -63,58 +54,6 @@ Name | Type | ## Properties -### m_centroid - -• **m_centroid**: *Vec2* - -*Inherited from [PolygonShape](/api/classes/polygonshape).[m_centroid](/api/classes/polygonshape#m_centroid)* - -___ - -### m_count - -• **m_count**: *number* - -*Inherited from [PolygonShape](/api/classes/polygonshape).[m_count](/api/classes/polygonshape#m_count)* - -___ - -### m_normals - -• **m_normals**: *Vec2[]* - -*Inherited from [PolygonShape](/api/classes/polygonshape).[m_normals](/api/classes/polygonshape#m_normals)* - -___ - -### m_radius - -• **m_radius**: *number* - -*Inherited from [PolygonShape](/api/classes/polygonshape).[m_radius](/api/classes/polygonshape#m_radius)* - -*Overrides [Shape](/api/classes/shape).[m_radius](/api/classes/shape#m_radius)* - -___ - -### m_type - -• **m_type**: *"polygon"* - -*Inherited from [PolygonShape](/api/classes/polygonshape).[m_type](/api/classes/polygonshape#m_type)* - -*Overrides [Shape](/api/classes/shape).[m_type](/api/classes/shape#m_type)* - -___ - -### m_vertices - -• **m_vertices**: *Vec2[]* - -*Inherited from [PolygonShape](/api/classes/polygonshape).[m_vertices](/api/classes/polygonshape#m_vertices)* - -___ - ### style • **style**: *[Style](/api/interfaces/style)* diff --git a/docs/pages/api/classes/broadphase.md b/docs/pages/api/classes/broadphase.md index 30efd2ae..9f0a8a3e 100644 --- a/docs/pages/api/classes/broadphase.md +++ b/docs/pages/api/classes/broadphase.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: BroadPhase diff --git a/docs/pages/api/classes/chainshape.md b/docs/pages/api/classes/chainshape.md index abb2ba75..3df85c44 100644 --- a/docs/pages/api/classes/chainshape.md +++ b/docs/pages/api/classes/chainshape.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: ChainShape @@ -25,15 +22,6 @@ WARNING: The chain will not collide properly if there are self-intersections. ### Properties -* [m_count](/api/classes/chainshape#m_count) -* [m_hasNextVertex](/api/classes/chainshape#m_hasnextvertex) -* [m_hasPrevVertex](/api/classes/chainshape#m_hasprevvertex) -* [m_isLoop](/api/classes/chainshape#m_isloop) -* [m_nextVertex](/api/classes/chainshape#m_nextvertex) -* [m_prevVertex](/api/classes/chainshape#m_prevvertex) -* [m_radius](/api/classes/chainshape#m_radius) -* [m_type](/api/classes/chainshape#m_type) -* [m_vertices](/api/classes/chainshape#m_vertices) * [style](/api/classes/chainshape#style) * [TYPE](/api/classes/chainshape#static-type) @@ -73,64 +61,6 @@ Name | Type | ## Properties -### m_count - -• **m_count**: *number* - -___ - -### m_hasNextVertex - -• **m_hasNextVertex**: *boolean* - -___ - -### m_hasPrevVertex - -• **m_hasPrevVertex**: *boolean* - -___ - -### m_isLoop - -• **m_isLoop**: *boolean* - -___ - -### m_nextVertex - -• **m_nextVertex**: *Vec2 | null* - -___ - -### m_prevVertex - -• **m_prevVertex**: *Vec2 | null* - -___ - -### m_radius - -• **m_radius**: *number* - -*Overrides [Shape](/api/classes/shape).[m_radius](/api/classes/shape#m_radius)* - -___ - -### m_type - -• **m_type**: *"chain"* - -*Overrides [Shape](/api/classes/shape).[m_type](/api/classes/shape#m_type)* - -___ - -### m_vertices - -• **m_vertices**: *Vec2[]* - -___ - ### style • **style**: *[Style](/api/interfaces/style)* diff --git a/docs/pages/api/classes/circleshape.md b/docs/pages/api/classes/circleshape.md index 39682258..84c45aa3 100644 --- a/docs/pages/api/classes/circleshape.md +++ b/docs/pages/api/classes/circleshape.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: CircleShape @@ -18,9 +15,6 @@ showOutline: false ### Properties -* [m_p](/api/classes/circleshape#m_p) -* [m_radius](/api/classes/circleshape#m_radius) -* [m_type](/api/classes/circleshape#m_type) * [style](/api/classes/circleshape#style) * [TYPE](/api/classes/circleshape#static-type) @@ -64,28 +58,6 @@ Name | Type | ## Properties -### m_p - -• **m_p**: *Vec2* - -___ - -### m_radius - -• **m_radius**: *number* - -*Overrides [Shape](/api/classes/shape).[m_radius](/api/classes/shape#m_radius)* - -___ - -### m_type - -• **m_type**: *"circle"* - -*Overrides [Shape](/api/classes/shape).[m_type](/api/classes/shape#m_type)* - -___ - ### style • **style**: *[Style](/api/interfaces/style)* diff --git a/docs/pages/api/classes/clipvertex.md b/docs/pages/api/classes/clipvertex.md index af74f1fd..40296b46 100644 --- a/docs/pages/api/classes/clipvertex.md +++ b/docs/pages/api/classes/clipvertex.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: ClipVertex diff --git a/docs/pages/api/classes/contact.md b/docs/pages/api/classes/contact.md index b29a73de..11c4b60e 100644 --- a/docs/pages/api/classes/contact.md +++ b/docs/pages/api/classes/contact.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Contact diff --git a/docs/pages/api/classes/contactedge.md b/docs/pages/api/classes/contactedge.md index 9be87b64..16119ed0 100644 --- a/docs/pages/api/classes/contactedge.md +++ b/docs/pages/api/classes/contactedge.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: ContactEdge diff --git a/docs/pages/api/classes/contactid.md b/docs/pages/api/classes/contactid.md index 540804ad..6102b98f 100644 --- a/docs/pages/api/classes/contactid.md +++ b/docs/pages/api/classes/contactid.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: ContactID diff --git a/docs/pages/api/classes/contactimpulse.md b/docs/pages/api/classes/contactimpulse.md index 10a32edf..f32e1061 100644 --- a/docs/pages/api/classes/contactimpulse.md +++ b/docs/pages/api/classes/contactimpulse.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: ContactImpulse diff --git a/docs/pages/api/classes/distanceinput.md b/docs/pages/api/classes/distanceinput.md index 9a15fff8..8673bfee 100644 --- a/docs/pages/api/classes/distanceinput.md +++ b/docs/pages/api/classes/distanceinput.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: DistanceInput diff --git a/docs/pages/api/classes/distancejoint.md b/docs/pages/api/classes/distancejoint.md index 00899d2d..2d2015c4 100644 --- a/docs/pages/api/classes/distancejoint.md +++ b/docs/pages/api/classes/distancejoint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: DistanceJoint diff --git a/docs/pages/api/classes/distanceoutput.md b/docs/pages/api/classes/distanceoutput.md index 3d0594c1..e4896e56 100644 --- a/docs/pages/api/classes/distanceoutput.md +++ b/docs/pages/api/classes/distanceoutput.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: DistanceOutput diff --git a/docs/pages/api/classes/distanceproxy.md b/docs/pages/api/classes/distanceproxy.md index f0ccd09f..dc757311 100644 --- a/docs/pages/api/classes/distanceproxy.md +++ b/docs/pages/api/classes/distanceproxy.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: DistanceProxy diff --git a/docs/pages/api/classes/dynamictree.md b/docs/pages/api/classes/dynamictree.md index f8237fbe..b129142c 100644 --- a/docs/pages/api/classes/dynamictree.md +++ b/docs/pages/api/classes/dynamictree.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: DynamicTree ‹**T**› diff --git a/docs/pages/api/classes/edgeshape.md b/docs/pages/api/classes/edgeshape.md index 261ca569..1e3a8e79 100644 --- a/docs/pages/api/classes/edgeshape.md +++ b/docs/pages/api/classes/edgeshape.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: EdgeShape @@ -22,14 +19,6 @@ contact normals. ### Properties -* [m_hasVertex0](/api/classes/edgeshape#m_hasvertex0) -* [m_hasVertex3](/api/classes/edgeshape#m_hasvertex3) -* [m_radius](/api/classes/edgeshape#m_radius) -* [m_type](/api/classes/edgeshape#m_type) -* [m_vertex0](/api/classes/edgeshape#m_vertex0) -* [m_vertex1](/api/classes/edgeshape#m_vertex1) -* [m_vertex2](/api/classes/edgeshape#m_vertex2) -* [m_vertex3](/api/classes/edgeshape#m_vertex3) * [style](/api/classes/edgeshape#style) * [TYPE](/api/classes/edgeshape#static-type) @@ -67,58 +56,6 @@ Name | Type | ## Properties -### m_hasVertex0 - -• **m_hasVertex0**: *boolean* - -___ - -### m_hasVertex3 - -• **m_hasVertex3**: *boolean* - -___ - -### m_radius - -• **m_radius**: *number* - -*Overrides [Shape](/api/classes/shape).[m_radius](/api/classes/shape#m_radius)* - -___ - -### m_type - -• **m_type**: *"edge"* - -*Overrides [Shape](/api/classes/shape).[m_type](/api/classes/shape#m_type)* - -___ - -### m_vertex0 - -• **m_vertex0**: *Vec2* - -___ - -### m_vertex1 - -• **m_vertex1**: *Vec2* - -___ - -### m_vertex2 - -• **m_vertex2**: *Vec2* - -___ - -### m_vertex3 - -• **m_vertex3**: *Vec2* - -___ - ### style • **style**: *[Style](/api/interfaces/style)* diff --git a/docs/pages/api/classes/fixture.md b/docs/pages/api/classes/fixture.md index e60bd004..92fb2780 100644 --- a/docs/pages/api/classes/fixture.md +++ b/docs/pages/api/classes/fixture.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Fixture diff --git a/docs/pages/api/classes/fixtureproxy.md b/docs/pages/api/classes/fixtureproxy.md index 70e5cfb1..9f150ac5 100644 --- a/docs/pages/api/classes/fixtureproxy.md +++ b/docs/pages/api/classes/fixtureproxy.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: FixtureProxy diff --git a/docs/pages/api/classes/frictionjoint.md b/docs/pages/api/classes/frictionjoint.md index a93b68b3..31eaffc6 100644 --- a/docs/pages/api/classes/frictionjoint.md +++ b/docs/pages/api/classes/frictionjoint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: FrictionJoint diff --git a/docs/pages/api/classes/gearjoint.md b/docs/pages/api/classes/gearjoint.md index a79ba100..869379e3 100644 --- a/docs/pages/api/classes/gearjoint.md +++ b/docs/pages/api/classes/gearjoint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: GearJoint diff --git a/docs/pages/api/classes/joint.md b/docs/pages/api/classes/joint.md index 4de3f984..79d5b18f 100644 --- a/docs/pages/api/classes/joint.md +++ b/docs/pages/api/classes/joint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Joint diff --git a/docs/pages/api/classes/jointedge.md b/docs/pages/api/classes/jointedge.md index 709d1e6e..40be0bca 100644 --- a/docs/pages/api/classes/jointedge.md +++ b/docs/pages/api/classes/jointedge.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: JointEdge diff --git a/docs/pages/api/classes/manifold.md b/docs/pages/api/classes/manifold.md index 85c3fd0e..d6abcc6e 100644 --- a/docs/pages/api/classes/manifold.md +++ b/docs/pages/api/classes/manifold.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Manifold diff --git a/docs/pages/api/classes/manifoldpoint.md b/docs/pages/api/classes/manifoldpoint.md index c4827cc5..5fcf2ca8 100644 --- a/docs/pages/api/classes/manifoldpoint.md +++ b/docs/pages/api/classes/manifoldpoint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: ManifoldPoint diff --git a/docs/pages/api/classes/mat22.md b/docs/pages/api/classes/mat22.md index 53f49c98..c34db03f 100644 --- a/docs/pages/api/classes/mat22.md +++ b/docs/pages/api/classes/mat22.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Mat22 diff --git a/docs/pages/api/classes/mat33.md b/docs/pages/api/classes/mat33.md index 97984be7..edf3d800 100644 --- a/docs/pages/api/classes/mat33.md +++ b/docs/pages/api/classes/mat33.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Mat33 diff --git a/docs/pages/api/classes/motorjoint.md b/docs/pages/api/classes/motorjoint.md index 9601a94c..81fe7a24 100644 --- a/docs/pages/api/classes/motorjoint.md +++ b/docs/pages/api/classes/motorjoint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: MotorJoint diff --git a/docs/pages/api/classes/mousejoint.md b/docs/pages/api/classes/mousejoint.md index 948b523f..b94f3f77 100644 --- a/docs/pages/api/classes/mousejoint.md +++ b/docs/pages/api/classes/mousejoint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: MouseJoint diff --git a/docs/pages/api/classes/polygonshape.md b/docs/pages/api/classes/polygonshape.md index d137c5f1..6170a511 100644 --- a/docs/pages/api/classes/polygonshape.md +++ b/docs/pages/api/classes/polygonshape.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: PolygonShape @@ -25,12 +22,6 @@ for a convex polygon. extends Shape ### Properties -* [m_centroid](/api/classes/polygonshape#m_centroid) -* [m_count](/api/classes/polygonshape#m_count) -* [m_normals](/api/classes/polygonshape#m_normals) -* [m_radius](/api/classes/polygonshape#m_radius) -* [m_type](/api/classes/polygonshape#m_type) -* [m_vertices](/api/classes/polygonshape#m_vertices) * [style](/api/classes/polygonshape#style) * [TYPE](/api/classes/polygonshape#static-type) @@ -63,46 +54,6 @@ Name | Type | ## Properties -### m_centroid - -• **m_centroid**: *Vec2* - -___ - -### m_count - -• **m_count**: *number* - -___ - -### m_normals - -• **m_normals**: *Vec2[]* - -___ - -### m_radius - -• **m_radius**: *number* - -*Overrides [Shape](/api/classes/shape).[m_radius](/api/classes/shape#m_radius)* - -___ - -### m_type - -• **m_type**: *"polygon"* - -*Overrides [Shape](/api/classes/shape).[m_type](/api/classes/shape#m_type)* - -___ - -### m_vertices - -• **m_vertices**: *Vec2[]* - -___ - ### style • **style**: *[Style](/api/interfaces/style)* diff --git a/docs/pages/api/classes/position.md b/docs/pages/api/classes/position.md index e65cee55..a9bce404 100644 --- a/docs/pages/api/classes/position.md +++ b/docs/pages/api/classes/position.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Position diff --git a/docs/pages/api/classes/prismaticjoint.md b/docs/pages/api/classes/prismaticjoint.md index 08095e95..cabfb009 100644 --- a/docs/pages/api/classes/prismaticjoint.md +++ b/docs/pages/api/classes/prismaticjoint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: PrismaticJoint diff --git a/docs/pages/api/classes/pulleyjoint.md b/docs/pages/api/classes/pulleyjoint.md index 39c9d75c..cea196b0 100644 --- a/docs/pages/api/classes/pulleyjoint.md +++ b/docs/pages/api/classes/pulleyjoint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: PulleyJoint diff --git a/docs/pages/api/classes/revolutejoint.md b/docs/pages/api/classes/revolutejoint.md index 184e0ca5..61b0da04 100644 --- a/docs/pages/api/classes/revolutejoint.md +++ b/docs/pages/api/classes/revolutejoint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: RevoluteJoint diff --git a/docs/pages/api/classes/ropejoint.md b/docs/pages/api/classes/ropejoint.md index ab8864d4..1ca8a28a 100644 --- a/docs/pages/api/classes/ropejoint.md +++ b/docs/pages/api/classes/ropejoint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: RopeJoint diff --git a/docs/pages/api/classes/rot.md b/docs/pages/api/classes/rot.md index 4548c7b8..44090684 100644 --- a/docs/pages/api/classes/rot.md +++ b/docs/pages/api/classes/rot.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Rot diff --git a/docs/pages/api/classes/separationfunction.md b/docs/pages/api/classes/separationfunction.md index 4f343b0e..b5f09e82 100644 --- a/docs/pages/api/classes/separationfunction.md +++ b/docs/pages/api/classes/separationfunction.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: SeparationFunction diff --git a/docs/pages/api/classes/settings.md b/docs/pages/api/classes/settings.md index efd3c3d5..053a48f9 100644 --- a/docs/pages/api/classes/settings.md +++ b/docs/pages/api/classes/settings.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Settings diff --git a/docs/pages/api/classes/shape.md b/docs/pages/api/classes/shape.md index ffe0ec66..96debad3 100644 --- a/docs/pages/api/classes/shape.md +++ b/docs/pages/api/classes/shape.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Shape @@ -24,8 +21,6 @@ Fixture is created. Shapes may encapsulate one or more child shapes. ### Properties -* [m_radius](/api/classes/shape#m_radius) -* [m_type](/api/classes/shape#m_type) * [style](/api/classes/shape#style) ### Methods @@ -42,21 +37,6 @@ Fixture is created. Shapes may encapsulate one or more child shapes. ## Properties -### m_radius - -• **m_radius**: *number* - -Radius of a shape. For polygonal shapes this must be b2_polygonRadius. -There is no support for making rounded polygons. - -___ - -### m_type - -• **m_type**: *[ShapeType](/api/globals#shapetype)* - -___ - ### style • **style**: *[Style](/api/interfaces/style)* diff --git a/docs/pages/api/classes/shapecastinput.md b/docs/pages/api/classes/shapecastinput.md index 38e616ed..bd16c126 100644 --- a/docs/pages/api/classes/shapecastinput.md +++ b/docs/pages/api/classes/shapecastinput.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: ShapeCastInput diff --git a/docs/pages/api/classes/shapecastoutput.md b/docs/pages/api/classes/shapecastoutput.md index 71904d85..9b8ce411 100644 --- a/docs/pages/api/classes/shapecastoutput.md +++ b/docs/pages/api/classes/shapecastoutput.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: ShapeCastOutput diff --git a/docs/pages/api/classes/simplex.md b/docs/pages/api/classes/simplex.md index 830dcb87..906fa5b6 100644 --- a/docs/pages/api/classes/simplex.md +++ b/docs/pages/api/classes/simplex.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Simplex diff --git a/docs/pages/api/classes/simplexcache.md b/docs/pages/api/classes/simplexcache.md index bb50d447..8f569335 100644 --- a/docs/pages/api/classes/simplexcache.md +++ b/docs/pages/api/classes/simplexcache.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: SimplexCache diff --git a/docs/pages/api/classes/simplexvertex.md b/docs/pages/api/classes/simplexvertex.md index ba9ef5b4..6e046aa6 100644 --- a/docs/pages/api/classes/simplexvertex.md +++ b/docs/pages/api/classes/simplexvertex.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: SimplexVertex diff --git a/docs/pages/api/classes/solver.md b/docs/pages/api/classes/solver.md index b326d8ed..0d48f220 100644 --- a/docs/pages/api/classes/solver.md +++ b/docs/pages/api/classes/solver.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Solver diff --git a/docs/pages/api/classes/sweep.md b/docs/pages/api/classes/sweep.md index 752edef4..bc2a975d 100644 --- a/docs/pages/api/classes/sweep.md +++ b/docs/pages/api/classes/sweep.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Sweep diff --git a/docs/pages/api/classes/testbed.md b/docs/pages/api/classes/testbed.md index 70d36445..44708ef1 100644 --- a/docs/pages/api/classes/testbed.md +++ b/docs/pages/api/classes/testbed.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Testbed diff --git a/docs/pages/api/classes/timestep.md b/docs/pages/api/classes/timestep.md index 21c59520..ffd82989 100644 --- a/docs/pages/api/classes/timestep.md +++ b/docs/pages/api/classes/timestep.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: TimeStep diff --git a/docs/pages/api/classes/toiinput.md b/docs/pages/api/classes/toiinput.md index 04eba280..eea2ec4a 100644 --- a/docs/pages/api/classes/toiinput.md +++ b/docs/pages/api/classes/toiinput.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: TOIInput diff --git a/docs/pages/api/classes/toioutput.md b/docs/pages/api/classes/toioutput.md index 93d6c85f..ae1cdc65 100644 --- a/docs/pages/api/classes/toioutput.md +++ b/docs/pages/api/classes/toioutput.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: TOIOutput diff --git a/docs/pages/api/classes/transform.md b/docs/pages/api/classes/transform.md index 02fcf29b..4b278467 100644 --- a/docs/pages/api/classes/transform.md +++ b/docs/pages/api/classes/transform.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Transform diff --git a/docs/pages/api/classes/treenode.md b/docs/pages/api/classes/treenode.md index 965b1031..c24f0825 100644 --- a/docs/pages/api/classes/treenode.md +++ b/docs/pages/api/classes/treenode.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: TreeNode ‹**T**› diff --git a/docs/pages/api/classes/vec2.md b/docs/pages/api/classes/vec2.md index e4be97d3..230352df 100644 --- a/docs/pages/api/classes/vec2.md +++ b/docs/pages/api/classes/vec2.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Vec2 diff --git a/docs/pages/api/classes/vec3.md b/docs/pages/api/classes/vec3.md index a0191f82..7ed9619d 100644 --- a/docs/pages/api/classes/vec3.md +++ b/docs/pages/api/classes/vec3.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Vec3 diff --git a/docs/pages/api/classes/velocity.md b/docs/pages/api/classes/velocity.md index 60d3cfd2..46075bcd 100644 --- a/docs/pages/api/classes/velocity.md +++ b/docs/pages/api/classes/velocity.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: Velocity diff --git a/docs/pages/api/classes/velocityconstraintpoint.md b/docs/pages/api/classes/velocityconstraintpoint.md index 11d67cbc..68ce7b56 100644 --- a/docs/pages/api/classes/velocityconstraintpoint.md +++ b/docs/pages/api/classes/velocityconstraintpoint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: VelocityConstraintPoint diff --git a/docs/pages/api/classes/weldjoint.md b/docs/pages/api/classes/weldjoint.md index 458d999f..a557c525 100644 --- a/docs/pages/api/classes/weldjoint.md +++ b/docs/pages/api/classes/weldjoint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: WeldJoint diff --git a/docs/pages/api/classes/wheeljoint.md b/docs/pages/api/classes/wheeljoint.md index 249074ce..dac4e727 100644 --- a/docs/pages/api/classes/wheeljoint.md +++ b/docs/pages/api/classes/wheeljoint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: WheelJoint diff --git a/docs/pages/api/classes/world.md b/docs/pages/api/classes/world.md index 01cfa758..8e2c4caf 100644 --- a/docs/pages/api/classes/world.md +++ b/docs/pages/api/classes/world.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: World diff --git a/docs/pages/api/classes/worldmanifold.md b/docs/pages/api/classes/worldmanifold.md index cf96e6c6..b579d899 100644 --- a/docs/pages/api/classes/worldmanifold.md +++ b/docs/pages/api/classes/worldmanifold.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Class: WorldManifold diff --git a/docs/pages/api/enums/contactfeaturetype.md b/docs/pages/api/enums/contactfeaturetype.md index 70f2be91..df0f1d19 100644 --- a/docs/pages/api/enums/contactfeaturetype.md +++ b/docs/pages/api/enums/contactfeaturetype.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Enumeration: ContactFeatureType diff --git a/docs/pages/api/enums/manifoldtype.md b/docs/pages/api/enums/manifoldtype.md index e90a9c0d..fe49fc42 100644 --- a/docs/pages/api/enums/manifoldtype.md +++ b/docs/pages/api/enums/manifoldtype.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Enumeration: ManifoldType diff --git a/docs/pages/api/enums/pointstate.md b/docs/pages/api/enums/pointstate.md index ee4d811f..bac20aef 100644 --- a/docs/pages/api/enums/pointstate.md +++ b/docs/pages/api/enums/pointstate.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Enumeration: PointState diff --git a/docs/pages/api/enums/separationfunctiontype.md b/docs/pages/api/enums/separationfunctiontype.md index 8fca76ff..c396f805 100644 --- a/docs/pages/api/enums/separationfunctiontype.md +++ b/docs/pages/api/enums/separationfunctiontype.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Enumeration: SeparationFunctionType diff --git a/docs/pages/api/enums/toioutputstate.md b/docs/pages/api/enums/toioutputstate.md index bbcdd006..03ec816d 100644 --- a/docs/pages/api/enums/toioutputstate.md +++ b/docs/pages/api/enums/toioutputstate.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Enumeration: TOIOutputState diff --git a/docs/pages/api/globals.md b/docs/pages/api/globals.md index f6044b44..587e1061 100644 --- a/docs/pages/api/globals.md +++ b/docs/pages/api/globals.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # API Reference diff --git a/docs/pages/api/interfaces/aabbvalue.md b/docs/pages/api/interfaces/aabbvalue.md index 49356d1b..a8b404ee 100644 --- a/docs/pages/api/interfaces/aabbvalue.md +++ b/docs/pages/api/interfaces/aabbvalue.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: AABBValue diff --git a/docs/pages/api/interfaces/bodydef.md b/docs/pages/api/interfaces/bodydef.md index e3d392f6..4b6ebf3a 100644 --- a/docs/pages/api/interfaces/bodydef.md +++ b/docs/pages/api/interfaces/bodydef.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: BodyDef diff --git a/docs/pages/api/interfaces/distancejointdef.md b/docs/pages/api/interfaces/distancejointdef.md index 287ff256..2c4a20a1 100644 --- a/docs/pages/api/interfaces/distancejointdef.md +++ b/docs/pages/api/interfaces/distancejointdef.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: DistanceJointDef diff --git a/docs/pages/api/interfaces/distancejointopt.md b/docs/pages/api/interfaces/distancejointopt.md index 018af3df..d7622a30 100644 --- a/docs/pages/api/interfaces/distancejointopt.md +++ b/docs/pages/api/interfaces/distancejointopt.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: DistanceJointOpt diff --git a/docs/pages/api/interfaces/fixturedef.md b/docs/pages/api/interfaces/fixturedef.md index 6d8badd7..851c94fe 100644 --- a/docs/pages/api/interfaces/fixturedef.md +++ b/docs/pages/api/interfaces/fixturedef.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: FixtureDef diff --git a/docs/pages/api/interfaces/fixtureopt.md b/docs/pages/api/interfaces/fixtureopt.md index 98aa8f5f..09de6d42 100644 --- a/docs/pages/api/interfaces/fixtureopt.md +++ b/docs/pages/api/interfaces/fixtureopt.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: FixtureOpt diff --git a/docs/pages/api/interfaces/frictionjointdef.md b/docs/pages/api/interfaces/frictionjointdef.md index df9f4f26..232c4cdf 100644 --- a/docs/pages/api/interfaces/frictionjointdef.md +++ b/docs/pages/api/interfaces/frictionjointdef.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: FrictionJointDef diff --git a/docs/pages/api/interfaces/frictionjointopt.md b/docs/pages/api/interfaces/frictionjointopt.md index fdad1b1f..e32936fa 100644 --- a/docs/pages/api/interfaces/frictionjointopt.md +++ b/docs/pages/api/interfaces/frictionjointopt.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: FrictionJointOpt diff --git a/docs/pages/api/interfaces/gearjointdef.md b/docs/pages/api/interfaces/gearjointdef.md index 7885073b..7ceadade 100644 --- a/docs/pages/api/interfaces/gearjointdef.md +++ b/docs/pages/api/interfaces/gearjointdef.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: GearJointDef diff --git a/docs/pages/api/interfaces/gearjointopt.md b/docs/pages/api/interfaces/gearjointopt.md index e34e6fa8..9b4c3a4e 100644 --- a/docs/pages/api/interfaces/gearjointopt.md +++ b/docs/pages/api/interfaces/gearjointopt.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: GearJointOpt diff --git a/docs/pages/api/interfaces/jointdef.md b/docs/pages/api/interfaces/jointdef.md index 35656d90..ec4a2f71 100644 --- a/docs/pages/api/interfaces/jointdef.md +++ b/docs/pages/api/interfaces/jointdef.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: JointDef diff --git a/docs/pages/api/interfaces/jointopt.md b/docs/pages/api/interfaces/jointopt.md index 462c605e..02e47585 100644 --- a/docs/pages/api/interfaces/jointopt.md +++ b/docs/pages/api/interfaces/jointopt.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: JointOpt diff --git a/docs/pages/api/interfaces/massdata.md b/docs/pages/api/interfaces/massdata.md index e9c482c8..6b8cdef5 100644 --- a/docs/pages/api/interfaces/massdata.md +++ b/docs/pages/api/interfaces/massdata.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: MassData diff --git a/docs/pages/api/interfaces/motorjointdef.md b/docs/pages/api/interfaces/motorjointdef.md index 2d1f11b2..89fe24d6 100644 --- a/docs/pages/api/interfaces/motorjointdef.md +++ b/docs/pages/api/interfaces/motorjointdef.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: MotorJointDef diff --git a/docs/pages/api/interfaces/motorjointopt.md b/docs/pages/api/interfaces/motorjointopt.md index 3b23704a..fe4ed9d5 100644 --- a/docs/pages/api/interfaces/motorjointopt.md +++ b/docs/pages/api/interfaces/motorjointopt.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: MotorJointOpt diff --git a/docs/pages/api/interfaces/mousejointdef.md b/docs/pages/api/interfaces/mousejointdef.md index 3faa6ce8..96cf1601 100644 --- a/docs/pages/api/interfaces/mousejointdef.md +++ b/docs/pages/api/interfaces/mousejointdef.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: MouseJointDef diff --git a/docs/pages/api/interfaces/mousejointopt.md b/docs/pages/api/interfaces/mousejointopt.md index bde58b8e..a1851a3e 100644 --- a/docs/pages/api/interfaces/mousejointopt.md +++ b/docs/pages/api/interfaces/mousejointopt.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: MouseJointOpt diff --git a/docs/pages/api/interfaces/prismaticjointdef.md b/docs/pages/api/interfaces/prismaticjointdef.md index a9d9cf6b..d727807f 100644 --- a/docs/pages/api/interfaces/prismaticjointdef.md +++ b/docs/pages/api/interfaces/prismaticjointdef.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: PrismaticJointDef diff --git a/docs/pages/api/interfaces/prismaticjointopt.md b/docs/pages/api/interfaces/prismaticjointopt.md index 118d2bee..efc9eecc 100644 --- a/docs/pages/api/interfaces/prismaticjointopt.md +++ b/docs/pages/api/interfaces/prismaticjointopt.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: PrismaticJointOpt diff --git a/docs/pages/api/interfaces/pulleyjointdef.md b/docs/pages/api/interfaces/pulleyjointdef.md index 5f17eb2a..2e3f62e4 100644 --- a/docs/pages/api/interfaces/pulleyjointdef.md +++ b/docs/pages/api/interfaces/pulleyjointdef.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: PulleyJointDef diff --git a/docs/pages/api/interfaces/pulleyjointopt.md b/docs/pages/api/interfaces/pulleyjointopt.md index 7af6f95c..5e9c3796 100644 --- a/docs/pages/api/interfaces/pulleyjointopt.md +++ b/docs/pages/api/interfaces/pulleyjointopt.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: PulleyJointOpt diff --git a/docs/pages/api/interfaces/raycastinput.md b/docs/pages/api/interfaces/raycastinput.md index d62c65d6..f4d17aa7 100644 --- a/docs/pages/api/interfaces/raycastinput.md +++ b/docs/pages/api/interfaces/raycastinput.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: RayCastInput diff --git a/docs/pages/api/interfaces/raycastoutput.md b/docs/pages/api/interfaces/raycastoutput.md index 5ac57f30..6dac13a0 100644 --- a/docs/pages/api/interfaces/raycastoutput.md +++ b/docs/pages/api/interfaces/raycastoutput.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: RayCastOutput diff --git a/docs/pages/api/interfaces/revolutejointdef.md b/docs/pages/api/interfaces/revolutejointdef.md index 97724495..50e5bdd3 100644 --- a/docs/pages/api/interfaces/revolutejointdef.md +++ b/docs/pages/api/interfaces/revolutejointdef.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: RevoluteJointDef diff --git a/docs/pages/api/interfaces/revolutejointopt.md b/docs/pages/api/interfaces/revolutejointopt.md index 18f82488..8d1785ea 100644 --- a/docs/pages/api/interfaces/revolutejointopt.md +++ b/docs/pages/api/interfaces/revolutejointopt.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: RevoluteJointOpt diff --git a/docs/pages/api/interfaces/ropejointdef.md b/docs/pages/api/interfaces/ropejointdef.md index 31970b04..815d4160 100644 --- a/docs/pages/api/interfaces/ropejointdef.md +++ b/docs/pages/api/interfaces/ropejointdef.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: RopeJointDef diff --git a/docs/pages/api/interfaces/ropejointopt.md b/docs/pages/api/interfaces/ropejointopt.md index 0012455e..b2e02877 100644 --- a/docs/pages/api/interfaces/ropejointopt.md +++ b/docs/pages/api/interfaces/ropejointopt.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: RopeJointOpt diff --git a/docs/pages/api/interfaces/rotvalue.md b/docs/pages/api/interfaces/rotvalue.md index 2dfd5983..b8b66009 100644 --- a/docs/pages/api/interfaces/rotvalue.md +++ b/docs/pages/api/interfaces/rotvalue.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: RotValue diff --git a/docs/pages/api/interfaces/style.md b/docs/pages/api/interfaces/style.md index cd82dc70..68bb2908 100644 --- a/docs/pages/api/interfaces/style.md +++ b/docs/pages/api/interfaces/style.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: Style diff --git a/docs/pages/api/interfaces/vec2value.md b/docs/pages/api/interfaces/vec2value.md index 89db497a..64578eb8 100644 --- a/docs/pages/api/interfaces/vec2value.md +++ b/docs/pages/api/interfaces/vec2value.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: Vec2Value diff --git a/docs/pages/api/interfaces/vec3value.md b/docs/pages/api/interfaces/vec3value.md index fc1482c2..80f93747 100644 --- a/docs/pages/api/interfaces/vec3value.md +++ b/docs/pages/api/interfaces/vec3value.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: Vec3Value diff --git a/docs/pages/api/interfaces/weldjointdef.md b/docs/pages/api/interfaces/weldjointdef.md index 7460807e..e5dc74e8 100644 --- a/docs/pages/api/interfaces/weldjointdef.md +++ b/docs/pages/api/interfaces/weldjointdef.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: WeldJointDef diff --git a/docs/pages/api/interfaces/weldjointopt.md b/docs/pages/api/interfaces/weldjointopt.md index 7a2766f9..6d2c92e2 100644 --- a/docs/pages/api/interfaces/weldjointopt.md +++ b/docs/pages/api/interfaces/weldjointopt.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: WeldJointOpt diff --git a/docs/pages/api/interfaces/wheeljointdef.md b/docs/pages/api/interfaces/wheeljointdef.md index 6ff226b9..3b144d95 100644 --- a/docs/pages/api/interfaces/wheeljointdef.md +++ b/docs/pages/api/interfaces/wheeljointdef.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: WheelJointDef diff --git a/docs/pages/api/interfaces/wheeljointopt.md b/docs/pages/api/interfaces/wheeljointopt.md index 18227f38..98aef442 100644 --- a/docs/pages/api/interfaces/wheeljointopt.md +++ b/docs/pages/api/interfaces/wheeljointopt.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: WheelJointOpt diff --git a/docs/pages/api/interfaces/worlddef.md b/docs/pages/api/interfaces/worlddef.md index 50aa2371..7866cdc3 100644 --- a/docs/pages/api/interfaces/worlddef.md +++ b/docs/pages/api/interfaces/worlddef.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- # Interface: WorldDef diff --git a/docs/pages/body.md b/docs/pages/body.md index 10692c20..8a634e4c 100644 --- a/docs/pages/body.md +++ b/docs/pages/body.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Body Bodies have position, angle, and velocity. You can apply forces, torques, and diff --git a/docs/pages/collision.md b/docs/pages/collision.md index 1ddfd529..8acc2fc8 100644 --- a/docs/pages/collision.md +++ b/docs/pages/collision.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Collision The Collision classes include shapes and functions that operate on them. diff --git a/docs/pages/contacts.md b/docs/pages/contacts.md index 6bd23fdc..ef5238bb 100644 --- a/docs/pages/contacts.md +++ b/docs/pages/contacts.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Contacts Contacts are objects created by Planck.js to manage collision between two diff --git a/docs/pages/core-concepts.md b/docs/pages/core-concepts.md index 2a0641bc..d9b05be3 100644 --- a/docs/pages/core-concepts.md +++ b/docs/pages/core-concepts.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Core Concepts Planck.js works with several fundamental concepts and objects. We briefly diff --git a/docs/pages/credits.md b/docs/pages/credits.md index f26ab645..3a1e7712 100644 --- a/docs/pages/credits.md +++ b/docs/pages/credits.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- #### Credits diff --git a/docs/pages/fixture.md b/docs/pages/fixture.md index 0464a946..91a60c60 100644 --- a/docs/pages/fixture.md +++ b/docs/pages/fixture.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Fixture Shapes only have geometrical coordinates, they don't have physical properties and don't know about the body's transformation, so may be used independently of the physics simulation. diff --git a/docs/pages/hello-world.md b/docs/pages/hello-world.md index c87bf008..5357f440 100644 --- a/docs/pages/hello-world.md +++ b/docs/pages/hello-world.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Hello World diff --git a/docs/pages/index.md b/docs/pages/index.md index 4d18bbad..c9acad8f 100644 --- a/docs/pages/index.md +++ b/docs/pages/index.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ### Planck.js diff --git a/docs/pages/install.md b/docs/pages/install.md index 7d6e0c6f..3e9397a7 100644 --- a/docs/pages/install.md +++ b/docs/pages/install.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Install diff --git a/docs/pages/joint.md b/docs/pages/joint.md index bb0498c0..2d5a738e 100644 --- a/docs/pages/joint.md +++ b/docs/pages/joint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Joint Joints are used to constrain bodies to the world or to each other. diff --git a/docs/pages/joint/distance-joint.md b/docs/pages/joint/distance-joint.md index 1d16566d..a1cd7d63 100644 --- a/docs/pages/joint/distance-joint.md +++ b/docs/pages/joint/distance-joint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Distance Joint One of the simplest joints is a distance joint which says that the diff --git a/docs/pages/joint/friction-joint.md b/docs/pages/joint/friction-joint.md index d28e934c..f16975e1 100644 --- a/docs/pages/joint/friction-joint.md +++ b/docs/pages/joint/friction-joint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Friction Joint The friction joint is used for top-down friction. The joint provides 2D diff --git a/docs/pages/joint/gear-joint.md b/docs/pages/joint/gear-joint.md index d0d5094e..8ac46d81 100644 --- a/docs/pages/joint/gear-joint.md +++ b/docs/pages/joint/gear-joint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Gear Joint If you want to create a sophisticated mechanical contraption you might diff --git a/docs/pages/joint/motor-joint.md b/docs/pages/joint/motor-joint.md index 6349634e..4e926201 100644 --- a/docs/pages/joint/motor-joint.md +++ b/docs/pages/joint/motor-joint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Motor Joint A motor joint lets you control the motion of a body by specifying target diff --git a/docs/pages/joint/mouse-joint.md b/docs/pages/joint/mouse-joint.md index a4da4818..52234bd1 100644 --- a/docs/pages/joint/mouse-joint.md +++ b/docs/pages/joint/mouse-joint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Mouse Joint The mouse joint is used in the testbed to manipulate bodies with the diff --git a/docs/pages/joint/prismatic-joint.md b/docs/pages/joint/prismatic-joint.md index bec3fbcf..db81e0b0 100644 --- a/docs/pages/joint/prismatic-joint.md +++ b/docs/pages/joint/prismatic-joint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Prismatic Joint A prismatic joint allows for relative translation of two bodies along a diff --git a/docs/pages/joint/pulley.md b/docs/pages/joint/pulley.md index 3005586d..30749f63 100644 --- a/docs/pages/joint/pulley.md +++ b/docs/pages/joint/pulley.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Pulley Joint A pulley is used to create an idealized pulley. The pulley connects two diff --git a/docs/pages/joint/revolute-joint.md b/docs/pages/joint/revolute-joint.md index 7bd105a2..dee2624a 100644 --- a/docs/pages/joint/revolute-joint.md +++ b/docs/pages/joint/revolute-joint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Revolute Joint A revolute joint forces two bodies to share a common anchor point, often diff --git a/docs/pages/joint/rope-joint.md b/docs/pages/joint/rope-joint.md index 85d21d30..c59dc5dd 100644 --- a/docs/pages/joint/rope-joint.md +++ b/docs/pages/joint/rope-joint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Rope Joint The rope joint restricts the maximum distance between two points. This diff --git a/docs/pages/joint/weld-joint.md b/docs/pages/joint/weld-joint.md index 495029ad..2115a4cf 100644 --- a/docs/pages/joint/weld-joint.md +++ b/docs/pages/joint/weld-joint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Weld Joint The weld joint attempts to constrain all relative motion between two diff --git a/docs/pages/joint/wheel-joint.md b/docs/pages/joint/wheel-joint.md index 888fe6ae..7705e923 100644 --- a/docs/pages/joint/wheel-joint.md +++ b/docs/pages/joint/wheel-joint.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Wheel Joint The wheel joint restricts a point on bodyB to a line on bodyA. The wheel diff --git a/docs/pages/limitations.md b/docs/pages/limitations.md index 3269cfdf..68cd4c89 100644 --- a/docs/pages/limitations.md +++ b/docs/pages/limitations.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Limitations Planck.js uses several approximations to simulate rigid body physics diff --git a/docs/pages/references-resources.md b/docs/pages/references-resources.md index 0da71922..b67c351a 100644 --- a/docs/pages/references-resources.md +++ b/docs/pages/references-resources.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ### References - [Erin Catto's Publications](https://box2d.org/publications/) diff --git a/docs/pages/rendering.md b/docs/pages/rendering.md index faef1148..995d5bd2 100644 --- a/docs/pages/rendering.md +++ b/docs/pages/rendering.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Rendering diff --git a/docs/pages/run-your-code.md b/docs/pages/run-your-code.md index dd64fff1..7e12a8bc 100644 --- a/docs/pages/run-your-code.md +++ b/docs/pages/run-your-code.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Run Your Code diff --git a/docs/pages/shape.md b/docs/pages/shape.md index 99044599..31a9571e 100644 --- a/docs/pages/shape.md +++ b/docs/pages/shape.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Shape diff --git a/docs/pages/shape/chain.md b/docs/pages/shape/chain.md index 363c213e..d7a99b57 100644 --- a/docs/pages/shape/chain.md +++ b/docs/pages/shape/chain.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Chain Shapes diff --git a/docs/pages/shape/circle.md b/docs/pages/shape/circle.md index b9a26d41..edfa10aa 100644 --- a/docs/pages/shape/circle.md +++ b/docs/pages/shape/circle.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Circle Shapes Circle shapes have a position and radius. Circles are solid. You cannot diff --git a/docs/pages/shape/edge.md b/docs/pages/shape/edge.md index 7dae0683..282f58b1 100644 --- a/docs/pages/shape/edge.md +++ b/docs/pages/shape/edge.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Edge Shapes Edge shapes are line segments. These are provided to assist in making a diff --git a/docs/pages/shape/polygon.md b/docs/pages/shape/polygon.md index e6aba2fc..77becfe7 100644 --- a/docs/pages/shape/polygon.md +++ b/docs/pages/shape/polygon.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Polygon Shapes Polygon shapes are solid convex polygons. A polygon is convex when all @@ -46,8 +43,8 @@ let polygon = new Polygon(vertices); The polygon shape has some convenience functions to create boxes. ```js -new Box(hx, hy); -new Box(hx, hy, centerVec2, angle); +new Box(halfWidth, halfHeight); +new Box(halfWidth, halfHeight, center, angle); ``` Polygons inherit a radius from Shape. The radius creates a skin around diff --git a/docs/pages/testbed.md b/docs/pages/testbed.md index bb89c61f..9f71184e 100644 --- a/docs/pages/testbed.md +++ b/docs/pages/testbed.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Testbed diff --git a/docs/pages/world.md b/docs/pages/world.md index bcba60f1..af1b2a3a 100644 --- a/docs/pages/world.md +++ b/docs/pages/world.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## World The `World` class contains the bodies and joints. It manages all aspects diff --git a/docs/pages/world/aabb-query.md b/docs/pages/world/aabb-query.md index 5f729a49..ef539610 100644 --- a/docs/pages/world/aabb-query.md +++ b/docs/pages/world/aabb-query.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## AABB Queries Sometimes you want to determine all the shapes in a region. The World diff --git a/docs/pages/world/ray-cast.md b/docs/pages/world/ray-cast.md index a1a1d5aa..ebdafacd 100644 --- a/docs/pages/world/ray-cast.md +++ b/docs/pages/world/ray-cast.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Ray Casts You can use ray casts to do line-of-sight checks, fire guns, etc. You diff --git a/docs/pages/world/simulation.md b/docs/pages/world/simulation.md index 3cf1f119..27a4c17e 100644 --- a/docs/pages/world/simulation.md +++ b/docs/pages/world/simulation.md @@ -1,6 +1,3 @@ ---- -showOutline: false ---- ## Simulation diff --git a/src/collision/Shape.ts b/src/collision/Shape.ts index 69e7bb48..d5c3032d 100644 --- a/src/collision/Shape.ts +++ b/src/collision/Shape.ts @@ -37,9 +37,10 @@ import { Style } from '../util/Testbed'; * Fixture is created. Shapes may encapsulate one or more child shapes. */ export abstract class Shape { - m_type: ShapeType; + /** @hidden */ m_type: ShapeType; /** + * @hidden * Radius of a shape. For polygonal shapes this must be b2_polygonRadius. * There is no support for making rounded polygons. */ diff --git a/src/collision/shape/BoxShape.ts b/src/collision/shape/BoxShape.ts index 9bcac7ce..a1574b9d 100644 --- a/src/collision/shape/BoxShape.ts +++ b/src/collision/shape/BoxShape.ts @@ -36,15 +36,15 @@ export class BoxShape extends PolygonShape { // note that box is serialized/deserialized as polygon static TYPE = 'polygon' as const; - constructor(hx: number, hy: number, center?: Vec2Value, angle?: number) { + constructor(halfWidth: number, halfHeight: number, center?: Vec2Value, angle?: number) { // @ts-ignore if (_CONSTRUCTOR_FACTORY && !(this instanceof BoxShape)) { - return new BoxShape(hx, hy, center, angle); + return new BoxShape(halfWidth, halfHeight, center, angle); } super(); - this._setAsBox(hx, hy, center, angle); + this._setAsBox(halfWidth, halfHeight, center, angle); } } diff --git a/src/collision/shape/ChainShape.ts b/src/collision/shape/ChainShape.ts index abd46e84..186b6607 100644 --- a/src/collision/shape/ChainShape.ts +++ b/src/collision/shape/ChainShape.ts @@ -50,18 +50,18 @@ import { EdgeShape } from './EdgeShape'; */ export class ChainShape extends Shape { static TYPE = 'chain' as const; - m_type: 'chain'; + /** @hidden */ m_type: 'chain'; - m_radius: number; + /** @hidden */ m_radius: number; - m_vertices: Vec2[]; - m_count: number; - m_prevVertex: Vec2 | null; - m_nextVertex: Vec2 | null; - m_hasPrevVertex: boolean; - m_hasNextVertex: boolean; + /** @hidden */ m_vertices: Vec2[]; + /** @hidden */ m_count: number; + /** @hidden */ m_prevVertex: Vec2 | null; + /** @hidden */ m_nextVertex: Vec2 | null; + /** @hidden */ m_hasPrevVertex: boolean; + /** @hidden */ m_hasNextVertex: boolean; - m_isLoop: boolean; + /** @hidden */ m_isLoop: boolean; constructor(vertices?: Vec2Value[], loop?: boolean) { // @ts-ignore diff --git a/src/collision/shape/CircleShape.ts b/src/collision/shape/CircleShape.ts index a259ba4f..02f027b7 100644 --- a/src/collision/shape/CircleShape.ts +++ b/src/collision/shape/CircleShape.ts @@ -41,10 +41,10 @@ import { DistanceProxy } from '../Distance'; export class CircleShape extends Shape { static TYPE = 'circle' as const; - m_type: 'circle'; + /** @hidden */ m_type: 'circle'; - m_p: Vec2; - m_radius: number; + /** @hidden */ m_p: Vec2; + /** @hidden */ m_radius: number; constructor(position: Vec2Value, radius?: number); constructor(radius?: number); diff --git a/src/collision/shape/EdgeShape.ts b/src/collision/shape/EdgeShape.ts index b207a126..872aa531 100644 --- a/src/collision/shape/EdgeShape.ts +++ b/src/collision/shape/EdgeShape.ts @@ -46,20 +46,20 @@ import { DistanceProxy } from '../Distance'; */ export class EdgeShape extends Shape { static TYPE = 'edge' as const; - m_type: 'edge'; + /** @hidden */ m_type: 'edge'; - m_radius: number; + /** @hidden */ m_radius: number; // These are the edge vertices - m_vertex1: Vec2; - m_vertex2: Vec2; + /** @hidden */ m_vertex1: Vec2; + /** @hidden */ m_vertex2: Vec2; // Optional adjacent vertices. These are used for smooth collision. // Used by chain shape. - m_vertex0: Vec2; - m_vertex3: Vec2; - m_hasVertex0: boolean; - m_hasVertex3: boolean; + /** @hidden */ m_vertex0: Vec2; + /** @hidden */ m_vertex3: Vec2; + /** @hidden */ m_hasVertex0: boolean; + /** @hidden */ m_hasVertex3: boolean; constructor(v1?: Vec2Value, v2?: Vec2Value) { // @ts-ignore diff --git a/src/collision/shape/PolygonShape.ts b/src/collision/shape/PolygonShape.ts index 07a13fe0..df496633 100644 --- a/src/collision/shape/PolygonShape.ts +++ b/src/collision/shape/PolygonShape.ts @@ -54,13 +54,13 @@ import { Shape } from '../Shape'; */ export class PolygonShape extends Shape { static TYPE = 'polygon' as const; - m_type: 'polygon'; + /** @hidden */ m_type: 'polygon'; - m_centroid: Vec2; - m_vertices: Vec2[]; // [Settings.maxPolygonVertices] - m_normals: Vec2[]; // [Settings.maxPolygonVertices] - m_count: number; - m_radius: number; + /** @hidden */ m_centroid: Vec2; + /** @hidden */ m_vertices: Vec2[]; // [Settings.maxPolygonVertices] + /** @hidden */ m_normals: Vec2[]; // [Settings.maxPolygonVertices] + /** @hidden */ m_count: number; + /** @hidden */ m_radius: number; constructor(vertices?: Vec2Value[]) { // @ts-ignore