draws bounding box + contours

This commit is contained in:
arthur.jamet
2021-06-14 13:59:05 +02:00
parent a3236ffba6
commit a36ab11b6d
2 changed files with 21 additions and 4 deletions
+4
View File
@@ -6,6 +6,7 @@
#include "Component/Renderer/CameraComponent.hpp"
#include "Component/Position/PositionComponent.hpp"
#include "Component/Renderer/Drawable3DComponent.hpp"
#include "System/System.hpp"
#include "Camera/Camera2D.hpp"
#include "Window.hpp"
@@ -39,6 +40,9 @@ namespace BBM
//! @param debug true if debug mode should be enabled
void setDebug(bool debug);
//! @param entity entity to draw bounding box of
void drawBoundingBox(const WAL::Entity &entity, const PositionComponent &posComponent, const Drawable3DComponent &drawable) const;
//! @brief ctor
RenderSystem(WAL::Wal &wal, RAY::Window &window, bool debugMode = false);
//! @brief Default copy ctor