Skip to content

Commit

Permalink
fix: playcanvas example
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-mason committed Oct 9, 2024
1 parent 6ed4773 commit afb84e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/playcanvas-vite-example/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ const init = async () => {
);

if (success) {
const navMeshHelper = new NavMeshHelper(app.graphicsDevice, {
navMesh,
});
const navMeshHelper = new NavMeshHelper(navMesh, app.graphicsDevice);

app.root.addChild(navMeshHelper);
}
Expand Down

0 comments on commit afb84e3

Please sign in to comment.