Skip to content

issues Search Results · repo:greggman/wgpu-matrix language:JavaScript

Filter by

24 results
 (90 ms)

24 results

ingreggman/wgpu-matrix (press backspace or delete to remove)

I discovered a bug in my app because vec2.normalize was avoiding division by 0 by checking an arbitrarily small length: https://github.com/greggman/wgpu-matrix/blob/main/src/vec2-impl.ts#L506 I believe ...
  • deluksic
  • Opened 
    on Jan 12
  • #38

I recently ported the latest stable version of https://github.com/piqnt/planck.js to a version that supports array notation, and gets rid of all the Object Oriented stuff. Fundamentally what this means ...
  • mreinstein
  • 1
  • Opened 
    on Oct 29, 2024
  • #36

I have the publish rights to https://www.npmjs.com/package/matrix. If you d like to have this point at wgpu-matrix I m happy to hand over the npm module to you. Thanks again for a great library @greggman ...
  • mreinstein
  • 2
  • Opened 
    on Oct 29, 2024
  • #35

mat3n.scaling seems to create array with empty element I think it maybe side effect of new Array vs new Float32Array. So similar bug may exists in number[] versions
  • shrekshao
  • 9
  • Opened 
    on Sep 6, 2024
  • #33

In the 2.x to 3.x migration it says mat4.identity() // returns Float32Array mat4.identity(new Float32Array(16)); // returns Float32Array mat4.identity(new Float64Array(16)); // ...
  • rconde01
  • 1
  • Opened 
    on Jun 1, 2024
  • #31

It would be amazing if this library included a variation of the perspective matrix function for reverse depth.
  • stefnotch
  • 7
  • Opened 
    on May 12, 2024
  • #29

I saw some code like this const matrix = mat4.identity(); device.writeBuffer(uniformBuffer, 0, matrix); This fails in typescript because Mat4 is Float32Array | Float64Array | number[] and number[] ...
  • greggman
  • 7
  • Opened 
    on Mar 31, 2024
  • #27

@greggman gl-matrix has a way to rotate a 2d point by another point representing the origin. Would you be open to a PR for this?
  • mreinstein
  • 5
  • Opened 
    on Mar 13, 2024
  • #23

Not sure if this has anything to do my particular config, but TypeScript seems to be unable to pick up the various other .d.ts files imported in wgpu-matrix.d.ts. It doesn t produce any errors, but when ...
  • DRKV333
  • 2
  • Opened 
    on Jul 4, 2023
  • #21

https://webpack.js.org/guides/tree-shaking/
  • deepkolos
  • Opened 
    on Jun 14, 2023
  • #19
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub