From 7e1d5e5273a21e82c58ecc135330445ed05f1e31 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Tue, 16 Apr 2024 16:25:43 +0200 Subject: [PATCH] [c][cpp] Update docs of spPhysics enum --- spine-c/spine-c/include/spine/Physics.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/spine-c/spine-c/include/spine/Physics.h b/spine-c/spine-c/include/spine/Physics.h index bd088543d..8ac56f0cd 100644 --- a/spine-c/spine-c/include/spine/Physics.h +++ b/spine-c/spine-c/include/spine/Physics.h @@ -34,11 +34,16 @@ extern "C" { #endif +/** Determines how physics and other non-deterministic updates are applied. */ typedef enum { - SP_PHYSICS_NONE, - SP_PHYSICS_RESET, - SP_PHYSICS_UPDATE, - SP_PHYSICS_POSE + /** Physics are not updated or applied. */ + SP_PHYSICS_NONE, + /** Physics are reset to the current pose. */ + SP_PHYSICS_RESET, + /** Physics are updated and the pose from physics is applied. */ + SP_PHYSICS_UPDATE, + /** Physics are not updated but the pose from physics is applied. */ + SP_PHYSICS_POSE } spPhysics; #ifdef __cplusplus