Starting the refactor session on day 14. Moved the glad and KHR dirs into src to start.
This commit is contained in:
parent
1b7066757a
commit
5b5e8a9fb0
62 changed files with 13880 additions and 0 deletions
13
14-refactor/src/physics.hpp
Normal file
13
14-refactor/src/physics.hpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#pragma once
|
||||
|
||||
#include <box2d/box2d.h>
|
||||
|
||||
#define BODY_COUNT 1
|
||||
|
||||
struct BoxTest {
|
||||
b2Body *walls[4];
|
||||
b2Body *bodies[BODY_COUNT];
|
||||
};
|
||||
|
||||
struct BoxTest Box2d_setup(b2World &world);
|
||||
void Box2d_step_world(b2World& world);
|
||||
Loading…
Add table
Add a link
Reference in a new issue