feat: add debug rendering for other types of colliders / split game into more logical functions / files
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#ifndef LIGHTKEEPER_MAINSCENE_H
|
||||
#define LIGHTKEEPER_MAINSCENE_H
|
||||
|
||||
#include <destrum/Graphics/ids.h>
|
||||
|
||||
class FirstPersonController;
|
||||
class GameObject;
|
||||
class GfxDevice;
|
||||
class RenderResources;
|
||||
class Scene;
|
||||
|
||||
// What the app keeps a hold of after building the scene
|
||||
struct MainSceneObjects {
|
||||
GameObject* player{nullptr};
|
||||
FirstPersonController* playerController{nullptr};
|
||||
|
||||
// Used by the debug "Spawn ball" button
|
||||
MeshID sphereMesh{};
|
||||
MaterialID sphereMaterial{};
|
||||
};
|
||||
|
||||
// Sun, ground, parkour course, models, trigger zone and the player
|
||||
MainSceneObjects BuildMainScene(Scene& scene, GfxDevice& gfxDevice, RenderResources& resources);
|
||||
|
||||
#endif // LIGHTKEEPER_MAINSCENE_H
|
||||
Reference in New Issue
Block a user