-
Notifications
You must be signed in to change notification settings - Fork 4
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.The text was updated successfully, but these errors were encountered: