Euphoria
debug.h
Go to the documentation of this file.
1#pragma once
2
3// #include "eu/render/color.h"
4
5namespace eu::render
6{
7struct CompiledCamera;
8
15{
19};
20
24{
25 std::vector<DebugLine> lines;
26
27 void add_line(const v3& from, const v3& to, const Rgb& color);
28};
29
30void draw_frustum(DebugRender* debug, const CompiledCamera& camera, const Rgb& color);
31
36} // namespace eu::render
void draw_frustum(DebugRender *debug, const CompiledCamera &camera, const Rgb &color)
Definition ui.h:4
Represents color in gamma (non-linear) space (aka sRGB).
Definition colors.h:14
A "compiled" camera for use in rendering.
Definition camera.h:41
Line + color.
Definition debug.h:15
Just stores debug render requests and doesn't actually render anything.
Definition debug.h:24
void add_line(const v3 &from, const v3 &to, const Rgb &color)
std::vector< DebugLine > lines
Definition debug.h:25
a 3d vector
Definition vec3.h:27