summaryrefslogtreecommitdiffstats
path: root/src/game/client/world/outline.hh
blob: e2e2dfb2d768cad30fc20ec45ead968c5c5534f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// SPDX-License-Identifier: BSD-2-Clause
// Copyright (c) 2025 Kirill Dmitrievich
// File: outline.hh
// Description: Debug-esque line rendering

#ifndef CLIENT_WORLD_OUTLINE_HH
#define CLIENT_WORLD_OUTLINE_HH
#pragma once

#include "shared/types.hh"

namespace outline
{
void init(void);
void shutdown(void);
void prepare(void);
} // namespace outline

namespace outline
{
void cube(const chunk_pos& cpos, const glm::fvec3& fpos, const glm::fvec3& size, float thickness, const glm::fvec4& color);
void line(const chunk_pos& cpos, const glm::fvec3& fpos, const glm::fvec3& size, float thickness, const glm::fvec4& color);
} // namespace outline

#endif