Skip to content

Commit

Permalink
rewrite of the new ObservableVector3d class for better performances
Browse files Browse the repository at this point in the history
also simplify code and fix the `updateChildBounds` issue where child bounds are not updated when the parent container is modified (requires `enableChildBoundsUpdate` to be set to true)
  • Loading branch information
obiot committed Aug 4, 2024
1 parent a86adf2 commit 1fd6355
Show file tree
Hide file tree
Showing 8 changed files with 1,160 additions and 181 deletions.
2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ export default tseslint.config(
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-dynamic-delete": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unnecessary-condition": "off",
Expand Down
2 changes: 1 addition & 1 deletion packages/melonjs/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export { Rect } from "./geometries/rectangle.ts";
export { RoundRect } from "./geometries/roundrect.ts";
export { Ellipse } from "./geometries/ellipse.ts";
export { createObservableVector2d } from "./math/observableVector2d.ts";
export { createObservableVector3d } from "./math/observableVector3d.ts";
export { ObservableVector3d } from "./math/observableVector3d.ts";
export { getPool } from "./pool.ts";

// export all class definition
Expand Down
Loading

0 comments on commit 1fd6355

Please sign in to comment.