Refactor: Move BPY mathutils headers to proper C++ ones.

This module actually was confusing, since only a few headers were
effectively still C ones (using the `extern "C"` blocks)...
This commit is contained in:
Bastien Montagne
2024-09-24 12:56:16 +02:00
committed by Bastien Montagne
parent 4dd11465bc
commit 4fac7828e4
38 changed files with 70 additions and 79 deletions

View File

@@ -8,7 +8,7 @@
#include <Python.h>
#include "mathutils.h"
#include "mathutils.hh"
#include "BLI_math_matrix.h"
#include "BLI_math_rotation.h"
@@ -755,12 +755,12 @@ static PyModuleDef M_Mathutils_module_def = {
};
/* submodules only */
#include "mathutils_geometry.h"
#include "mathutils_interpolate.h"
#include "mathutils_geometry.hh"
#include "mathutils_interpolate.hh"
#ifndef MATH_STANDALONE
# include "mathutils_bvhtree.h"
# include "mathutils_kdtree.h"
# include "mathutils_noise.h"
# include "mathutils_bvhtree.hh"
# include "mathutils_kdtree.hh"
# include "mathutils_noise.hh"
#endif
PyMODINIT_FUNC PyInit_mathutils()