ephysics: change quaternion API to avoid many free calls
authorBruno Dilly <bdilly@profusion.mobi>
Wed, 14 Nov 2012 20:01:20 +0000 (20:01 +0000)
committerBruno Dilly <bdilly@profusion.mobi>
Wed, 14 Nov 2012 20:01:20 +0000 (20:01 +0000)
commit52e0d5417466418af18254cf40a2099dc5c6e2f0
tree12de11baf8744763656d2e58366823d7bd1bfc92
parent8a7f6631687d9ee9d01c2f6eec33580e9384c20d
ephysics: change quaternion API to avoid many free calls

It was really annoying and error prone (easy to leak).

SVN revision: 79299
legacy/ephysics/src/bin/ephysics_sandbox.c
legacy/ephysics/src/bin/test_bouncing_3d.c
legacy/ephysics/src/bin/test_cube_3d.c
legacy/ephysics/src/bin/test_rotating_forever.c
legacy/ephysics/src/lib/EPhysics.h
legacy/ephysics/src/lib/ephysics_body.cpp
legacy/ephysics/src/lib/ephysics_quaternion.cpp