Elevate Engine 1
Loading...
Searching...
No Matches
DebugTypes.h
Go to the documentation of this file.
1#pragma once
2
3#if defined(EE_EDITOR_BUILD) || defined(EE_DEBUG)
4#include <glm/glm.hpp>
5
6namespace Elevate
7{
8 struct DebugPoint
9 {
10 glm::vec3 pos;
11 };
12
13 struct DebugLine
14 {
15 glm::vec3 start;
16 glm::vec3 end;
17 glm::vec4 color;
18 float width;
19 float lifetime; // duration in seconds, 0 for a single frame, < 0 if infinite
20 };
21}
22
23#endif // EE_EDITOR_BUILD || EE_DEBUG