box selection

This commit is contained in:
2023-02-05 23:42:36 +00:00
parent 01eb56d42d
commit f4d08bcacb
7 changed files with 103 additions and 4 deletions

View File

@@ -15,7 +15,6 @@ extern float dynamic_color[3];
extern float kinematic_color[3];
extern float static_color[3];
struct phys2d_shape {
cpShape *shape;
int go;
@@ -97,6 +96,7 @@ void phys2d_edge_setvert(struct phys2d_edge *edge, int index, cpVect val);
void phys2d_init();
void phys2d_update(float deltaT);
cpShape *phys2d_query_pos(cpVect pos);
int *phys2d_query_box(cpVect pos, cpVect wh);
struct phys_cbs {
struct callee begin;