EPhysics: add note regarding body data

Requested by Ricardo.



SVN revision: 74497
This commit is contained in:
Bruno Dilly 2012-07-27 14:48:41 +00:00
parent 3ea072eca7
commit b3e016122d
1 changed files with 5 additions and 0 deletions

View File

@ -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.
*