@box2d/core
Advanced tools
Comparing version
@@ -1,2 +0,2 @@ | ||
import { b2Vec2, b2Transform, b2Sweep, XY } from "../common/b2_math"; | ||
import { b2Vec2, b2Transform, XY } from "../common/b2_math"; | ||
import { b2MassData } from "../collision/b2_shape"; | ||
@@ -3,0 +3,0 @@ import type { b2ContactEdge } from "./b2_contact"; |
@@ -1,5 +0,1 @@ | ||
import { b2Transform } from "../common/b2_math"; | ||
import { b2Manifold } from "../collision/b2_collision"; | ||
import { b2ChainShape } from "../collision/b2_chain_shape"; | ||
import { b2CircleShape } from "../collision/b2_circle_shape"; | ||
import { b2Contact } from "./b2_contact"; | ||
export {}; |
@@ -1,5 +0,1 @@ | ||
import { b2Transform } from "../common/b2_math"; | ||
import { b2Manifold } from "../collision/b2_collision"; | ||
import { b2ChainShape } from "../collision/b2_chain_shape"; | ||
import { b2PolygonShape } from "../collision/b2_polygon_shape"; | ||
import { b2Contact } from "./b2_contact"; | ||
export {}; |
@@ -1,4 +0,1 @@ | ||
import { b2Transform } from "../common/b2_math"; | ||
import { b2Manifold } from "../collision/b2_collision"; | ||
import { b2CircleShape } from "../collision/b2_circle_shape"; | ||
import { b2Contact } from "./b2_contact"; | ||
export {}; |
@@ -1,5 +0,3 @@ | ||
import { b2Vec2, b2Mat22 } from "../common/b2_math"; | ||
import { b2Vec2 } from "../common/b2_math"; | ||
import { b2ManifoldType } from "../collision/b2_collision"; | ||
import { b2Contact } from "./b2_contact"; | ||
import { b2TimeStep, b2Position, b2Velocity } from "./b2_time_step"; | ||
export declare function b2SetBlockSolve(value: boolean): void; | ||
@@ -6,0 +4,0 @@ export declare function b2GetBlockSolve(): boolean; |
@@ -454,2 +454,3 @@ "use strict"; | ||
b.Subtract(b2_math_1.b2Mat22.MultiplyVec2(vc.K, a, b2_math_1.b2Vec2.s_t0)); | ||
// eslint-disable-next-line no-unreachable-loop | ||
for (;;) { | ||
@@ -456,0 +457,0 @@ // |
@@ -1,5 +0,1 @@ | ||
import { b2Transform } from "../common/b2_math"; | ||
import { b2Manifold } from "../collision/b2_collision"; | ||
import { b2CircleShape } from "../collision/b2_circle_shape"; | ||
import { b2EdgeShape } from "../collision/b2_edge_shape"; | ||
import { b2Contact } from "./b2_contact"; | ||
export {}; |
@@ -1,5 +0,1 @@ | ||
import { b2Transform } from "../common/b2_math"; | ||
import { b2Manifold } from "../collision/b2_collision"; | ||
import { b2EdgeShape } from "../collision/b2_edge_shape"; | ||
import { b2PolygonShape } from "../collision/b2_polygon_shape"; | ||
import { b2Contact } from "./b2_contact"; | ||
export {}; |
@@ -1,7 +0,1 @@ | ||
import { b2Vec2 } from "../common/b2_math"; | ||
import { b2Contact } from "./b2_contact"; | ||
import { b2ContactVelocityConstraint } from "./b2_contact_solver"; | ||
import { b2Joint } from "./b2_joint"; | ||
import { b2Body } from "./b2_body"; | ||
import { b2TimeStep, b2Profile, b2Position, b2Velocity } from "./b2_time_step"; | ||
import { b2ContactListener } from "./b2_world_callbacks"; | ||
export {}; |
@@ -1,5 +0,1 @@ | ||
import { b2Transform } from "../common/b2_math"; | ||
import { b2Manifold } from "../collision/b2_collision"; | ||
import { b2CircleShape } from "../collision/b2_circle_shape"; | ||
import { b2PolygonShape } from "../collision/b2_polygon_shape"; | ||
import { b2Contact } from "./b2_contact"; | ||
export {}; |
@@ -1,4 +0,1 @@ | ||
import { b2Transform } from "../common/b2_math"; | ||
import { b2Manifold } from "../collision/b2_collision"; | ||
import { b2PolygonShape } from "../collision/b2_polygon_shape"; | ||
import { b2Contact } from "./b2_contact"; | ||
export {}; |
@@ -20,3 +20,3 @@ import { b2Vec2, b2Transform, XY } from "../common/b2_math"; | ||
import { b2Fixture } from "./b2_fixture"; | ||
import { b2Profile, b2TimeStep, b2StepConfig } from "./b2_time_step"; | ||
import { b2Profile, b2StepConfig } from "./b2_time_step"; | ||
import { b2ContactFilter, b2ContactListener, b2DestructionListener, b2QueryCallback, b2RayCastCallback } from "./b2_world_callbacks"; | ||
@@ -23,0 +23,0 @@ /** |
@@ -25,3 +25,2 @@ export * from "./common/b2_common"; | ||
export * from "./dynamics/b2_world_callbacks"; | ||
export * from "./dynamics/b2_island"; | ||
export * from "./dynamics/b2_time_step"; | ||
@@ -28,0 +27,0 @@ export * from "./dynamics/b2_contact_manager"; |
@@ -5,3 +5,7 @@ "use strict"; | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -59,3 +63,2 @@ if (k2 === undefined) k2 = k; | ||
__exportStar(require("./dynamics/b2_world_callbacks"), exports); | ||
__exportStar(require("./dynamics/b2_island"), exports); | ||
__exportStar(require("./dynamics/b2_time_step"), exports); | ||
@@ -62,0 +65,0 @@ __exportStar(require("./dynamics/b2_contact_manager"), exports); |
{ | ||
"name": "@box2d/core", | ||
"version": "0.9.0", | ||
"version": "0.9.2", | ||
"description": "A TypeScript port of Box2D", | ||
@@ -35,5 +35,5 @@ "keywords": [ | ||
"devDependencies": { | ||
"idtsc": "^0.9.0", | ||
"idtsc": "^1.0.0", | ||
"rimraf": "^3.0.2", | ||
"typescript": "^4.4.3" | ||
"typescript": "^4.7.2" | ||
}, | ||
@@ -43,3 +43,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "b2ab6ee4489e4f7ae35092349420198f9f4ea3e4" | ||
"gitHead": "a83e77f83666030d76c347729504b6fc21a646d5" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
871024
-0.24%19374
-0.16%