@gg-web-engine/ammo 0.0.58 → 0.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ammo.js/ammo-ambient.d.ts +2 -7
- package/dist/ammo.js/ammo.d.ts +2 -7
- package/dist/types.d.ts +3 -1
- package/package.json +3 -3
- package/tsconfig.json +4 -1
|
@@ -730,9 +730,7 @@ declare module Ammo {
|
|
|
730
730
|
get_primitive_triangle(prim_index: number, triangle: btPrimitiveTriangle): void;
|
|
731
731
|
}
|
|
732
732
|
type eGIMPACT_SHAPE_TYPE =
|
|
733
|
-
| '
|
|
734
|
-
| 'CONST_GIMPACT_TRIMESH_SHAPE_PART'
|
|
735
|
-
| 'CONST_GIMPACT_TRIMESH_SHAPE';
|
|
733
|
+
'CONST_GIMPACT_COMPOUND_SHAPE' | 'CONST_GIMPACT_TRIMESH_SHAPE_PART' | 'CONST_GIMPACT_TRIMESH_SHAPE';
|
|
736
734
|
class btTetrahedronShapeEx {
|
|
737
735
|
constructor();
|
|
738
736
|
setVertices(v0: btVector3, v1: btVector3, v2: btVector3, v3: btVector3): void;
|
|
@@ -1111,10 +1109,7 @@ declare module Ammo {
|
|
|
1111
1109
|
| 'FIXED_CONSTRAINT_TYPE'
|
|
1112
1110
|
| 'MAX_CONSTRAINT_TYPE';
|
|
1113
1111
|
type btConstraintParams =
|
|
1114
|
-
| '
|
|
1115
|
-
| 'BT_CONSTRAINT_STOP_ERP'
|
|
1116
|
-
| 'BT_CONSTRAINT_CFM'
|
|
1117
|
-
| 'BT_CONSTRAINT_STOP_CFM';
|
|
1112
|
+
'BT_CONSTRAINT_ERP' | 'BT_CONSTRAINT_STOP_ERP' | 'BT_CONSTRAINT_CFM' | 'BT_CONSTRAINT_STOP_CFM';
|
|
1118
1113
|
class btPoint2PointConstraint extends btTypedConstraint {
|
|
1119
1114
|
constructor(rbA: btRigidBody, rbB: btRigidBody, pivotInA: btVector3, pivotInB: btVector3);
|
|
1120
1115
|
constructor(rbA: btRigidBody, pivotInA: btVector3);
|
package/dist/ammo.js/ammo.d.ts
CHANGED
|
@@ -731,9 +731,7 @@ declare module Ammo {
|
|
|
731
731
|
get_primitive_triangle(prim_index: number, triangle: btPrimitiveTriangle): void;
|
|
732
732
|
}
|
|
733
733
|
type eGIMPACT_SHAPE_TYPE =
|
|
734
|
-
| '
|
|
735
|
-
| 'CONST_GIMPACT_TRIMESH_SHAPE_PART'
|
|
736
|
-
| 'CONST_GIMPACT_TRIMESH_SHAPE';
|
|
734
|
+
'CONST_GIMPACT_COMPOUND_SHAPE' | 'CONST_GIMPACT_TRIMESH_SHAPE_PART' | 'CONST_GIMPACT_TRIMESH_SHAPE';
|
|
737
735
|
class btTetrahedronShapeEx {
|
|
738
736
|
constructor();
|
|
739
737
|
setVertices(v0: btVector3, v1: btVector3, v2: btVector3, v3: btVector3): void;
|
|
@@ -1112,10 +1110,7 @@ declare module Ammo {
|
|
|
1112
1110
|
| 'FIXED_CONSTRAINT_TYPE'
|
|
1113
1111
|
| 'MAX_CONSTRAINT_TYPE';
|
|
1114
1112
|
type btConstraintParams =
|
|
1115
|
-
| '
|
|
1116
|
-
| 'BT_CONSTRAINT_STOP_ERP'
|
|
1117
|
-
| 'BT_CONSTRAINT_CFM'
|
|
1118
|
-
| 'BT_CONSTRAINT_STOP_CFM';
|
|
1113
|
+
'BT_CONSTRAINT_ERP' | 'BT_CONSTRAINT_STOP_ERP' | 'BT_CONSTRAINT_CFM' | 'BT_CONSTRAINT_STOP_CFM';
|
|
1119
1114
|
class btPoint2PointConstraint extends btTypedConstraint {
|
|
1120
1115
|
constructor(rbA: btRigidBody, rbB: btRigidBody, pivotInA: btVector3, pivotInB: btVector3);
|
|
1121
1116
|
constructor(rbA: btRigidBody, pivotInA: btVector3);
|
package/dist/types.d.ts
CHANGED
|
@@ -12,4 +12,6 @@ export type AmmoPhysicsTypeDocRepo = {
|
|
|
12
12
|
trigger: AmmoTriggerComponent;
|
|
13
13
|
raycastVehicle: AmmoRaycastVehicleComponent;
|
|
14
14
|
};
|
|
15
|
-
export type
|
|
15
|
+
export type AmmoTypeDoc = Gg3dWorldTypeDocPPatch<AmmoPhysicsTypeDocRepo>;
|
|
16
|
+
export type AmmoSceneTypeDoc = Gg3dWorldSceneTypeDocPPatch<AmmoPhysicsTypeDocRepo, AmmoWorldComponent>;
|
|
17
|
+
export type AmmoGgWorld = Gg3dWorld<AmmoTypeDoc, AmmoSceneTypeDoc>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gg-web-engine/ammo",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.59",
|
|
4
4
|
"description": "An attempt to create open source game engine for browser",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@gg-web-engine/core": "0.0.
|
|
37
|
+
"@gg-web-engine/core": "0.0.59",
|
|
38
38
|
"@types/jest": "^29.5.12",
|
|
39
39
|
"jest": "^29.7.0",
|
|
40
40
|
"jest-environment-jsdom": "^29.7.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"typescript": "~5.5.4"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@gg-web-engine/core": "0.0.
|
|
48
|
+
"@gg-web-engine/core": "0.0.59",
|
|
49
49
|
"mini-signals": "2.0.0",
|
|
50
50
|
"rxjs": "7.8.1"
|
|
51
51
|
},
|
package/tsconfig.json
CHANGED
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
"extends": "./../../tsconfig.base.json",
|
|
3
3
|
"compilerOptions": {
|
|
4
4
|
"baseUrl": "./src/",
|
|
5
|
-
"outDir": "./dist/"
|
|
5
|
+
"outDir": "./dist/",
|
|
6
|
+
"rootDir": "./src/",
|
|
7
|
+
"tsBuildInfoFile": "./dist/tsconfig.tsbuildinfo"
|
|
6
8
|
},
|
|
7
9
|
"include": ["src/*.ts", "src/**/*.ts"],
|
|
10
|
+
"references": [{ "path": "../core" }]
|
|
8
11
|
}
|