Open patreeceeo opened 3 years ago
Absolutely! Any help is apprecciated!
Yes it was planned, but I haven't looked into it yet. I was gonna setup a github actions pipeline after I've finished with #34.
When porting, mind that it would be necessary to change the unit testing framework, since cannon.js is using a deprecated one: nodeunit. I was thinking about ava.js or jest, but I wanted to hear @codynova's opinion first.
I think jest is probably the way to go, but I wouldn't complain about either option 😄
Great! @patreeceeo feel free to make a PR when you have time!
There are some quaternion features there only exist to test, and are not actually used.
new Quaternion()
is the only usage in the actual code... the a,b,c,d arguments are only used in test code....
the tests could be updated to be 'new Quaternion().set(1,2,3,4)... Also
toEuler,
setFromVectors`, from Euler() (at least in the cannon.js, I guess they may be used in demos or examples)
Hi! I noticed that cannon.js has a large suite of unit tests that seem to have not been ported over to this fork yet. Wondering if you'd be interested in having help doing that? Or if you're aware of any efforts to do that that are already in progress? It'd be a great way for me to understand Cannon (and physics rigs in general) as I work on a personal project using Cannon.