Oxygen Engine
Modern C++ 3D Engine using OpenGL
Loading...
Searching...
No Matches
debug.h
1#ifndef OE_SCENE_NODE_COMPONENT_DEBUG_H
2#define OE_SCENE_NODE_COMPONENT_DEBUG_H
3
4#include "../../node.h"
5
7{
14 {
15 public:
22
27 virtual void onUpdate(const double delta, const int8_t flags = 0) override;
28
30 bool show_bbox = true;
31
33 glm::vec3 bbox_color;
34
36 bool show_transform = true;
37
40
42 int8_t match_flags = 0;
43 };
44}
45
46#endif
Show various visual debugging information about the node.
Definition debug.h:14
virtual void onUpdate(const double delta, const int8_t flags=0) override
bool show_transform
Definition debug.h:36
float transform_line_length
Definition debug.h:39
bool show_bbox
Definition debug.h:30
Debug(oe::scene::Node &node)
int8_t match_flags
Definition debug.h:42
glm::vec3 bbox_color
Definition debug.h:33
Parent class of components that can be bound to a Node.
Definition node.h:15
Definition node.h:31
Components bound to a node.
Definition debug.h:7