18 #define MAX_POINT_LIGHTS 2 23 #include "IDrawable.h" 37 Camera *shadowMapCamera =
nullptr;
39 std::vector<PointLight> pointLights;
40 std::vector<SpotLight> spotLights;
45 std::vector<GameObject*> getGameObjects();
46 std::vector<GameObject*> getShadowCasters();
47 std::vector<GameObject*> getTransparentObjects();
49 virtual void update(
float dt, std::vector<GameObject*> *toDelete);
52 std::vector<GameObject*> shadowCasters;
53 std::vector<GameObject*> transparentObjects;
54 std::vector<GameObject*> allObjects;
56 void removeDirty(std::vector<GameObject*> *v, std::vector<GameObject*> *toDelete);
A class for containing all information about a object in the game world.