Now have multiple lights.
This commit is contained in:
parent
a1d2c7768d
commit
1b7066757a
63 changed files with 13886 additions and 17 deletions
13
13-multiple-lights/src/physics.hpp
Normal file
13
13-multiple-lights/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