Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
24 lines
735 B
C++
24 lines
735 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Copyright 2018 Blender Foundation. */
|
|
|
|
/** \file
|
|
* \ingroup draw
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
struct BoundBox;
|
|
|
|
void DRW_debug_modelmat_reset(void);
|
|
void DRW_debug_modelmat(const float modelmat[4][4]);
|
|
|
|
void DRW_debug_line_v3v3(const float v1[3], const float v2[3], const float color[4]);
|
|
void DRW_debug_polygon_v3(const float (*v)[3], int vert_len, const float color[4]);
|
|
/**
|
|
* \note g_modelmat is still applied on top.
|
|
*/
|
|
void DRW_debug_m4(const float m[4][4]);
|
|
void DRW_debug_m4_as_bbox(const float m[4][4], const float color[4], bool invert);
|
|
void DRW_debug_bbox(const BoundBox *bbox, const float color[4]);
|
|
void DRW_debug_sphere(const float center[3], float radius, const float color[4]);
|