schteppe/cannon.js — pull request #49 by airbaggins (2013-02-17 18:54:13+00:00)
Title: Serialization fixes.

Hey I've just been using cannon.js for a network multiplayer game and I've had to make a couple of changes:

1. To make the solver deterministic, I removed the Math.random() from Vec3.tangents
2. To enable me to serialize the Particle.sleepState, I have had to expose it on the public interface

So here's a pull request if you want to merge it in.