summaryrefslogtreecommitdiff
path: root/src/eetg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/eetg.h')
-rw-r--r--src/eetg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eetg.h b/src/eetg.h
index 56856c8..f691894 100644
--- a/src/eetg.h
+++ b/src/eetg.h
@@ -51,6 +51,10 @@ typedef void (*eetg_write_fn)(const void *buffer, size_t size, void *arg);
*
* This function may not call any other function that could trigger
* another collision.
+ *
+ * If an object is removed from its world while handling a collision,
+ * it must persist in memory until the operation that triggered the
+ * collision is complete.
*/
typedef bool (*eetg_handle_collision_fn)(struct eetg_object *object1,
struct eetg_object *object2,