mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[c][cpp] Update docs of spPhysics enum
This commit is contained in:
parent
8630ccfe42
commit
7e1d5e5273
@ -34,11 +34,16 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/** Determines how physics and other non-deterministic updates are applied. */
|
||||||
typedef enum {
|
typedef enum {
|
||||||
SP_PHYSICS_NONE,
|
/** Physics are not updated or applied. */
|
||||||
SP_PHYSICS_RESET,
|
SP_PHYSICS_NONE,
|
||||||
SP_PHYSICS_UPDATE,
|
/** Physics are reset to the current pose. */
|
||||||
SP_PHYSICS_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;
|
} spPhysics;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user