diff options
| author | arngo <[email protected]> | 2023-05-26 12:07:51 -0400 |
|---|---|---|
| committer | arngo <[email protected]> | 2023-05-26 12:07:51 -0400 |
| commit | 1505735adadcdadb0966f9ec1ba8aafc46602e47 (patch) | |
| tree | b3b10f3aef85f321f958b22bebc96ceff98cc833 /include/rodeo/collision_t.h | |
| parent | ccadd3c51a7040532fe26cf185140b05a2bdcbe4 (diff) | |
| download | RodeoKit-1505735adadcdadb0966f9ec1ba8aafc46602e47.tar.gz RodeoKit-1505735adadcdadb0966f9ec1ba8aafc46602e47.zip | |
make id a struct with numberical id and world ptrcollision
Diffstat (limited to 'include/rodeo/collision_t.h')
| -rw-r--r-- | include/rodeo/collision_t.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/rodeo/collision_t.h b/include/rodeo/collision_t.h index 19f5dbe..e75d243 100644 --- a/include/rodeo/collision_t.h +++ b/include/rodeo/collision_t.h @@ -4,10 +4,19 @@ #include <stdint.h> #include <stdbool.h> +struct cvec_collision_2d_world_item; + typedef struct { uint32_t id; + struct cvec_collision_2d_world_item *world; +} world_id; + +typedef +struct +{ + world_id id; float x; float y; float dx; |
