Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #353

Merged
merged 1 commit into from
May 4, 2024
Merged

Version Packages #353

merged 1 commit into from
May 4, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 4, 2024

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

recast-navigation@0.28.0

Minor Changes

  • a86d2c3: feat: change Crowd and NavMeshQuery constructors to take NavMesh as first arg, and options as second

    old usage:

    import { NavMesh, Crowd, NavMeshQuery } from "recast-navigation";
    
    const navMesh = new NavMesh();
    
    const crowd = new Crowd({
      navMesh,
      maxAgents: 100,
      maxAgentRadius: 0.6,
    });
    
    const navMeshQuery = new NavMeshQuery({ navMesh });

    new usage:

    import { NavMesh, Crowd, NavMeshQuery } from "recast-navigation";
    
    const navMesh = new NavMesh();
    
    const crowd = new Crowd(navMesh, {
      maxAgents: 100,
      maxAgentRadius: 0.6,
    });
    
    const navMeshQuery = new NavMeshQuery(navMesh);
  • 365e0aa: fix: change findPolysAroundCircle resultCost to be a FloatArray, not a FloatRef

  • 365e0aa: feat(NavMeshQuery): rename closestPointOnPoly posOverPoly return to isPointOverPoly

  • f986fad: feat: support separate wasm file as well as inlined wasm file

    Progresses Support separate wasm file as well as inlined wasm file #164

    Now init can be optionally passed a default import of one of the @recast-navigation/wasm packages.

    The @recast-navigation/wasm package is no longer included in the @recast-navigation/core package. If nothing is passed to init, the inlined wasm-compat flavor is dynamically imported.

    Note that the other wasm flavor currently does not support node.js environments.

    import { init } from "recast-navigation";
    
    // import the 'wasm' flavor - has a separate wasm file, not inlined
    import RecastWasm from "@recast-navigation/wasm/wasm";
    
    await init(RecastWasm);

    It's still possible to use the inlined wasm flavor by not passing anything to init as before.

    import { init } from "recast-navigation";
    
    // internally dynamically imports `@recast-navigation/wasm`
    await init();
  • 365e0aa: feat(Arrays): rename 'free' to 'destroy' for consistency with other methods

  • 365e0aa: fix: missing cleanup for Raw Vec3 and *Ref classes

Patch Changes

  • Updated dependencies [a86d2c3]
  • Updated dependencies [365e0aa]
  • Updated dependencies [365e0aa]
  • Updated dependencies [f986fad]
  • Updated dependencies [365e0aa]
  • Updated dependencies [365e0aa]
    • @recast-navigation/core@0.28.0
    • @recast-navigation/generators@0.28.0
    • @recast-navigation/three@0.28.0

@recast-navigation/core@0.28.0

Minor Changes

  • a86d2c3: feat: change Crowd and NavMeshQuery constructors to take NavMesh as first arg, and options as second

    old usage:

    import { NavMesh, Crowd, NavMeshQuery } from "recast-navigation";
    
    const navMesh = new NavMesh();
    
    const crowd = new Crowd({
      navMesh,
      maxAgents: 100,
      maxAgentRadius: 0.6,
    });
    
    const navMeshQuery = new NavMeshQuery({ navMesh });

    new usage:

    import { NavMesh, Crowd, NavMeshQuery } from "recast-navigation";
    
    const navMesh = new NavMesh();
    
    const crowd = new Crowd(navMesh, {
      maxAgents: 100,
      maxAgentRadius: 0.6,
    });
    
    const navMeshQuery = new NavMeshQuery(navMesh);
  • 365e0aa: fix: change findPolysAroundCircle resultCost to be a FloatArray, not a FloatRef

  • 365e0aa: feat(NavMeshQuery): rename closestPointOnPoly posOverPoly return to isPointOverPoly

  • f986fad: feat: support separate wasm file as well as inlined wasm file

    Progresses Support separate wasm file as well as inlined wasm file #164

    Now init can be optionally passed a default import of one of the @recast-navigation/wasm packages.

    The @recast-navigation/wasm package is no longer included in the @recast-navigation/core package. If nothing is passed to init, the inlined wasm-compat flavor is dynamically imported.

    Note that the other wasm flavor currently does not support node.js environments.

    import { init } from "recast-navigation";
    
    // import the 'wasm' flavor - has a separate wasm file, not inlined
    import RecastWasm from "@recast-navigation/wasm/wasm";
    
    await init(RecastWasm);

    It's still possible to use the inlined wasm flavor by not passing anything to init as before.

    import { init } from "recast-navigation";
    
    // internally dynamically imports `@recast-navigation/wasm`
    await init();
  • 365e0aa: feat(Arrays): rename 'free' to 'destroy' for consistency with other methods

  • 365e0aa: fix: missing cleanup for Raw Vec3 and *Ref classes

Patch Changes

  • Updated dependencies [365e0aa]
    • @recast-navigation/wasm@0.28.0

@recast-navigation/wasm@0.28.0

Minor Changes

  • 365e0aa: fix: change findPolysAroundCircle resultCost to be a FloatArray, not a FloatRef

@recast-navigation/generators@0.28.0

Patch Changes

  • Updated dependencies [a86d2c3]
  • Updated dependencies [365e0aa]
  • Updated dependencies [365e0aa]
  • Updated dependencies [f986fad]
  • Updated dependencies [365e0aa]
  • Updated dependencies [365e0aa]
    • @recast-navigation/core@0.28.0
    • @recast-navigation/wasm@0.28.0

@recast-navigation/three@0.28.0

Patch Changes

  • Updated dependencies [a86d2c3]
  • Updated dependencies [365e0aa]
  • Updated dependencies [365e0aa]
  • Updated dependencies [f986fad]
  • Updated dependencies [365e0aa]
  • Updated dependencies [365e0aa]
    • @recast-navigation/core@0.28.0
    • @recast-navigation/generators@0.28.0

@github-actions github-actions bot force-pushed the changeset-release/main branch from f0cf7f6 to 9432068 Compare May 4, 2024 09:25
@github-actions github-actions bot force-pushed the changeset-release/main branch from 9432068 to 5cb8a03 Compare May 4, 2024 09:31
@isaac-mason isaac-mason merged commit 2ef49dc into main May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant