mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-04 18:46:22 +00:00
draws bounding box + contours
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user