Skip to content

Commit

Permalink
chore: update ecs-math package (#1025)
Browse files Browse the repository at this point in the history
* Updated ecs-math to 2.1.0

* Updated api
  • Loading branch information
AlejandroAlvarezMelucciDCL authored Nov 4, 2024
1 parent a53af9d commit 680459b
Show file tree
Hide file tree
Showing 11 changed files with 39 additions and 18 deletions.
8 changes: 4 additions & 4 deletions packages/@dcl/inspector/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/@dcl/inspector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@babylonjs/loaders": "~6.18.0",
"@babylonjs/materials": "~6.18.0",
"@dcl/ecs": "file:../ecs",
"@dcl/ecs-math": "2.0.2",
"@dcl/ecs-math": "2.1.0",
"@dcl/mini-rpc": "^1.0.7",
"@dcl/rpc": "^1.1.1",
"@dcl/schemas": "^8.2.3-20230718182824.commit-356025c",
Expand Down
25 changes: 23 additions & 2 deletions packages/@dcl/playground-assets/etc/playground-assets.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4235,13 +4235,34 @@ export type ValueSetOptions<T> = {
maxElements: number;
};

// @public
export type Vector2 = Vector2.ReadonlyVector2;

// @public
export namespace Vector2 {
export function create(
x?: number,
y?: number): MutableVector2;
export type Mutable = MutableVector2;
export type MutableVector2 = {
x: number;
y: number;
};
export function One(): MutableVector2;
export type ReadonlyVector2 = {
readonly x: number;
readonly y: number;
};
export function Zero(): MutableVector2;
}

// @public
export type Vector3 = Vector3.ReadonlyVector3;

// @public
export namespace Vector3 {
export function add(vector1: ReadonlyVector3, vector2: ReadonlyVector3): MutableVector3;
export function addToRef(vector1: ReadonlyVector3, vector2: ReadonlyVector3, result: MutableVector3): void;
export function addToRef(vectorA: ReadonlyVector3, vectorB: ReadonlyVector3, result: MutableVector3): void;
export function applyMatrix4(vector: ReadonlyVector3, matrix: Matrix.ReadonlyMatrix): MutableVector3;
export function applyMatrix4ToRef(vector: ReadonlyVector3, matrix: Matrix.ReadonlyMatrix, result: MutableVector3): void;
export function Backward(): MutableVector3;
Expand Down Expand Up @@ -4319,7 +4340,7 @@ export namespace Vector3 {
export function scaleToRef(vector: ReadonlyVector3, scale: number, result: MutableVector3): void;
export function subtract(vector1: ReadonlyVector3, vector2: ReadonlyVector3): MutableVector3;
export function subtractFromFloatsToRef(vector1: ReadonlyVector3, x: number, y: number, z: number, result: MutableVector3): void;
export function subtractToRef(vector1: ReadonlyVector3, vector2: ReadonlyVector3, result: MutableVector3): void;
export function subtractToRef(vectorA: ReadonlyVector3, vectorB: ReadonlyVector3, result: MutableVector3): void;
export function toString(vector: ReadonlyVector3): string;
export function transformCoordinates(vector: ReadonlyVector3, transformation: Matrix.ReadonlyMatrix): MutableVector3;
export function transformCoordinatesFromFloatsToRef(x: number, y: number, z: number, transformation: Matrix.ReadonlyMatrix, result: MutableVector3): void;
Expand Down
4 changes: 2 additions & 2 deletions packages/@dcl/sdk-commands/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/@dcl/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Decentraland",
"dependencies": {
"@dcl/ecs": "file:../ecs",
"@dcl/ecs-math": "2.0.2",
"@dcl/ecs-math": "2.1.0",
"@dcl/explorer": "1.0.164509-20240802172549.commit-fb95b9b",
"@dcl/js-runtime": "file:../js-runtime",
"@dcl/react-ecs": "file:../react-ecs",
Expand Down
2 changes: 1 addition & 1 deletion test/build-ecs/fixtures/ecs7-scene/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@dcl/sdk-commands": "file:../../../../packages/@dcl/sdk-commands"
},
"dependencies": {
"@dcl/ecs-math": "^2.0.1-20221108141807.commit-a1344cb"
"@dcl/ecs-math": "2.1.0"
}
}
2 changes: 1 addition & 1 deletion test/build-ecs/fixtures/sdk7-smart-wearable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@dcl/sdk-commands": "file:../../../../packages/@dcl/sdk-commands"
},
"dependencies": {
"@dcl/ecs-math": "^2.0.1-20221108141807.commit-a1344cb"
"@dcl/ecs-math": "2.1.0"
}
}
6 changes: 3 additions & 3 deletions test/build-ecs/fixtures/side-effect-free-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"devDependencies": {
"@dcl/ecs": "file:../../../../packages/@dcl/ecs",
"@dcl/js-runtime": "file:../../../../packages/@dcl/js-runtime",
"@dcl/sdk-commands": "file:../../../../packages/@dcl/sdk-commands",
"@dcl/sdk": "file:../../../../packages/@dcl/sdk"
"@dcl/sdk": "file:../../../../packages/@dcl/sdk",
"@dcl/sdk-commands": "file:../../../../packages/@dcl/sdk-commands"
},
"dependencies": {
"@dcl/ecs-math": "^2.0.1-20221108141807.commit-a1344cb"
"@dcl/ecs-math": "2.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dcl-test-lib-integration": "file:../dcl-test-lib-integration"
},
"dependencies": {
"@dcl/ecs-math": "^2.0.1-20221108141807.commit-a1344cb",
"@dcl/ecs-math": "2.1.0",
"eth-connect": "^6.0.3"
},
"bundleDependencies": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dcl-test-lib-integration": "file:../dcl-test-lib-integration"
},
"dependencies": {
"@dcl/ecs-math": "^2.0.1-20221108141807.commit-a1344cb",
"@dcl/ecs-math": "2.1.0",
"eth-connect": "^6.0.3"
},
"bundleDependencies": [
Expand Down
2 changes: 1 addition & 1 deletion test/build-ecs/fixtures/simple-scene/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@dcl/sdk-commands": "file:../../../../packages/@dcl/sdk-commands"
},
"dependencies": {
"@dcl/ecs-math": "^2.0.1-20221108141807.commit-a1344cb"
"@dcl/ecs-math": "2.1.0"
}
}

0 comments on commit 680459b

Please sign in to comment.