vector_math and stability

6 views
Skip to first unread message

Dominic Hamon

unread,
Jun 4, 2013, 4:49:59 PM6/4/13
to dartbox2...@googlegroups.com
Hello

I've just pushed v0.1.5 (and published it to pub) that reverts the integration with John McCutchan's vector_math library. Through no fault of his, and complete fault of mine, the integration introduced instabilities in the collision code that I have not found time to resolve.

The safest way forward, then, is to revert master to v0.0.7 and roll in any fixes necessary to build against the latest SDK, and that's exactly what I've just done.

I will be working to introduce some basic optimizations using typed data, and consolidating num/double/int usage, and will be working to once again integrate the vector_math library on the side. However, this integration will not go in to master until I'm comfortable that it doesn't introduce any instability.

Thank you

Dominic Hamon | Google
There are no bad ideas; only good ideas that go horribly wrong.

Rupert Key

unread,
Jun 4, 2013, 5:36:06 PM6/4/13
to dartbox2...@googlegroups.com

Sorry to hear that, Dominic. Know you'll nail it when you have the time :-)

--
You received this message because you are subscribed to the Google Groups "Dartbox2d discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dartbox2d-disc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Dominic Hamon

unread,
Jun 5, 2013, 11:17:14 AM6/5/13
to dartbox2...@googlegroups.com
One more update: I just pushed a change that converts the internal math library to use typed_data and converted a bunch of num types to doubles. I've attached the before and after benchmark numbers to illustrate why.

Note that the performance is either comparable or dramatically better.

Dominic Hamon | Google
There are no bad ideas; only good ideas that go horribly wrong.


benchmarks.master.txt
benchmarks.optimize_math.txt
Reply all
Reply to author
Forward
0 new messages