Avara3D 0.2.0
C++ API reference
DebugLinesBuilder.h
1//
2// DebugLinesBuilder.h
3// avara3d
4//
5// Created by Morgan Davis on 1/4/26.
6// Copyright © 2026 Morgan K Davis. All rights reserved.
7//
8
9#ifndef AVARA3D_RENDER_DEBUGLINESBUILDER_H
10#define AVARA3D_RENDER_DEBUGLINESBUILDER_H
11
12#include <vector>
13
14#include "a3d/Math.h"
15
16namespace a3d {
17
18 struct AABB;
19
20 class Color;
21 class Line;
22
23 class DebugLinesBuilder {
24
25 public:
26 // [Internal Static Member Functions]
27
28 static void AppendAABB(std::vector<Line>& out, const AABB& aabb, const Color& color);
29 static void AppendOBBFromLocalAABB(std::vector<Line>& out,
30 const AABB& local,
31 const math::mat4& model,
32 const Color& color);
33 static void AppendFrame(std::vector<Line>& out, const math::mat4& transform, const math::vec3& size);
34 };
35
36}
37
38#endif // AVARA3D_RENDER_DEBUGLINESBUILDER_H