2023-08-16 00:20:26 +10:00
|
|
|
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
2023-05-31 16:19:06 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2015-07-29 21:16:28 +10:00
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
|
* \ingroup mathutils
|
2015-07-29 21:16:28 +10:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2025-01-07 12:39:13 +01:00
|
|
|
#include <Python.h>
|
|
|
|
|
|
2024-09-24 12:56:16 +02:00
|
|
|
PyMODINIT_FUNC PyInit_mathutils_bvhtree();
|
2015-07-29 21:16:28 +10:00
|
|
|
|
|
|
|
|
extern PyTypeObject PyBVHTree_Type;
|
|
|
|
|
|
2017-11-29 16:09:46 +11:00
|
|
|
#define PyBVHTree_Check(v) PyObject_TypeCheck((v), &PyBVHTree_Type)
|
2015-07-29 21:16:28 +10:00
|
|
|
#define PyBVHTree_CheckExact(v) (Py_TYPE(v) == &PyBVHTree_Type)
|