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

feat: a wider BaseArgType #34

Merged
merged 2 commits into from
Oct 27, 2024
Merged

Conversation

iwoplaza
Copy link
Contributor

Hi! First of all, awesome library 👏!

We are currently working on improving interop between TypeGPU and wgpu-matrix, and to do that, we plan to expose an arrayView property on our vectors and matrix primitives that gives access to the underlying data in the form of a flat array of numbers. Since its just a view, we only wanted to expose the necessities, like a length property, and getters/setters for numeric properties. (Relevant issue)

To make this possible, I was wondering if wgpu-matrix could have a wider type restriction, since it seems to operate solely on the length prop and numeric properties.

@greggman greggman merged commit 6d6e79e into greggman:main Oct 27, 2024
1 check passed
@greggman
Copy link
Owner

sgtm

@iwoplaza iwoplaza deleted the feat/wider-base-arg-type branch October 28, 2024 08:42
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.

2 participants