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

TRIMESH likely doesnt work. #3

Open
Glidias opened this issue Mar 12, 2020 · 0 comments
Open

TRIMESH likely doesnt work. #3

Glidias opened this issue Mar 12, 2020 · 0 comments

Comments

@Glidias
Copy link

Glidias commented Mar 12, 2020

TriMesh uses Float32Array for the vertices, but SparkAR doesn't seem to support TypedArrays out of the box. (strange...dunno why). Of course, there may be polyfills available though that the user may download on his own in the unlikely case they use trimesh. The "official" package published on Spark AR Library appears ot have this issue if you use something like:
CANNON.Trimesh.createTorus(4, 3.5, 16, 16); . But from the typehintings, Trimesh seems to be unavailable and not found in intellisense though..even though you can still call it remotely.

@Glidias Glidias changed the title TRIMESH likely doesn TRIMESH likely doesnt work. Mar 12, 2020
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

No branches or pull requests

1 participant