mirror of
https://github.com/zoriya/Gamacon.git
synced 2026-06-02 03:35:43 +00:00
Making a working collisions
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ struct quadtree
|
||||
{
|
||||
qt_intrect rect;
|
||||
int capacity;
|
||||
void **objects;
|
||||
void *objects;
|
||||
};
|
||||
|
||||
quadtree *qt_create(qt_intrect rect, int capacity);
|
||||
|
||||
@@ -44,7 +44,7 @@ void movable_ctr(void *system, va_list args)
|
||||
{
|
||||
gc_movable_system *mov = (gc_movable_system *)system;
|
||||
|
||||
mov->tree = qt_create((qt_intrect){0, 0, 100, 100}, 3);
|
||||
mov->tree = qt_create((qt_intrect){0, 0, 1000, 1000}, 3);
|
||||
(void)args;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user