From b3e016122d075989f9cd8e668c642dbdd3095030 Mon Sep 17 00:00:00 2001 From: Bruno Dilly Date: Fri, 27 Jul 2012 14:48:41 +0000 Subject: [PATCH] EPhysics: add note regarding body data Requested by Ricardo. SVN revision: 74497 --- legacy/ephysics/src/lib/EPhysics.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/legacy/ephysics/src/lib/EPhysics.h b/legacy/ephysics/src/lib/EPhysics.h index 35b36d5a7a..9ff2f234ea 100644 --- a/legacy/ephysics/src/lib/EPhysics.h +++ b/legacy/ephysics/src/lib/EPhysics.h @@ -1680,6 +1680,11 @@ EAPI double ephysics_body_rotation_get(const EPhysics_Body *body); * some values that must to be updated when a collision occurs between two * bodies. * + * @note EPhysics won't handle this data, it won't be used in any way + * by the library. If it need to be freed when the body is deleted, a + * callback for @ref EPHYSICS_CALLBACK_BODY_DEL can be added and + * data should be explicity freed. + * * @param body The physics body. * @param data The data to be set. *