diff options
| author | Elijah Thomas <42302100+elijah-thomas774@users.noreply.github.com> | 2024-10-16 15:36:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-16 15:36:02 -0400 |
| commit | 26af4db82da23364961ebb440efba88846240731 (patch) | |
| tree | 9cfe6a427cfe59c13c64928ccef6ba3c5ccfec21 /include/d/col/c | |
| parent | 4543ec129ec02649b24ae0e20d8325a5f066c9b1 (diff) | |
update from dtk-template - clangd :) (#66)
* update from dtk-template and start work towards using clangd
* include <a> -> "a"
* Update build.yml
* remove/add non-trivial class in union warning
Diffstat (limited to 'include/d/col/c')
| -rw-r--r-- | include/d/col/c/c_bg_s_chk.h | 2 | ||||
| -rw-r--r-- | include/d/col/c/c_m3d.h | 7 | ||||
| -rw-r--r-- | include/d/col/c/c_m3d_g_aab.h | 2 | ||||
| -rw-r--r-- | include/d/col/c/c_m3d_g_cyl.h | 4 | ||||
| -rw-r--r-- | include/d/col/c/c_m3d_g_lin.h | 4 | ||||
| -rw-r--r-- | include/d/col/c/c_m3d_g_unk.h | 10 |
6 files changed, 13 insertions, 16 deletions
diff --git a/include/d/col/c/c_bg_s_chk.h b/include/d/col/c/c_bg_s_chk.h index c7acf88f..a03a697e 100644 --- a/include/d/col/c/c_bg_s_chk.h +++ b/include/d/col/c/c_bg_s_chk.h @@ -4,7 +4,7 @@ #include "d/col/bg/d_bg_w_base.h" #include "d/col/c/c_partition.h" #include "f/f_base.h" -#include "rvl/MTX.h" +#include "rvl/MTX.h" // IWYU pragma: export struct cBgD_Vtx_t : public nw4r::math::VEC3 {}; diff --git a/include/d/col/c/c_m3d.h b/include/d/col/c/c_m3d.h index 65a1cbf0..c148eef3 100644 --- a/include/d/col/c/c_m3d.h +++ b/include/d/col/c/c_m3d.h @@ -1,11 +1,10 @@ #ifndef C_M3D_H #define C_M3D_H +#include "common.h" +#include "math.h" #include "nw4r/math.h" -#include <common.h> -#include <math.h> - class cM3dGAab; class cM3dGCps; class cM3dGCyl; @@ -17,8 +16,6 @@ class cM3dGUnk; class mAng3_c; struct cM3d_Range; -struct nw4r::math::VEC3; - extern const f32 G_CM3D_F_ABS_MIN; bool cM3d_Len2dSqPntAndSegLine(f32, f32, f32, f32, f32, f32, f32 *, f32 *, f32 *); diff --git a/include/d/col/c/c_m3d_g_aab.h b/include/d/col/c/c_m3d_g_aab.h index b72425b9..2afb932f 100644 --- a/include/d/col/c/c_m3d_g_aab.h +++ b/include/d/col/c/c_m3d_g_aab.h @@ -1,11 +1,11 @@ #ifndef C_M3D_G_AAB_H #define C_M3D_G_AAB_H +#include "common.h" #include "d/col/c/c_m3d.h" #include "d/col/c/c_m3d_g_lin.h" #include "d/col/c/c_m3d_g_sph.h" -#include <common.h> // Axis aligned bounding box class cM3dGAab { diff --git a/include/d/col/c/c_m3d_g_cyl.h b/include/d/col/c/c_m3d_g_cyl.h index c0c0e067..c2941280 100644 --- a/include/d/col/c/c_m3d_g_cyl.h +++ b/include/d/col/c/c_m3d_g_cyl.h @@ -1,8 +1,8 @@ #ifndef C_M3D_G_CYL_H #define C_M3D_G_CYL_H -#include <d/col/c/c_m3d_g_unk.h> -#include <m/m_vec.h> +#include "d/col/c/c_m3d_g_unk.h" +#include "m/m_vec.h" class cM3dGCyl { public: diff --git a/include/d/col/c/c_m3d_g_lin.h b/include/d/col/c/c_m3d_g_lin.h index a0f72aef..02cea601 100644 --- a/include/d/col/c/c_m3d_g_lin.h +++ b/include/d/col/c/c_m3d_g_lin.h @@ -1,8 +1,8 @@ #ifndef C_M3D_G_LIN_H #define C_M3D_G_LIN_H -#include <common.h> -#include <m/m_vec.h> +#include "common.h" +#include "m/m_vec.h" class cM3dGLin { public: diff --git a/include/d/col/c/c_m3d_g_unk.h b/include/d/col/c/c_m3d_g_unk.h index 6d36035d..ea0de359 100644 --- a/include/d/col/c/c_m3d_g_unk.h +++ b/include/d/col/c/c_m3d_g_unk.h @@ -1,14 +1,14 @@ #ifndef C_M3D_G_UNK_H #define C_M3D_G_UNK_H -#include "d/col/c/c_m3d_g_cps.h" -#include "d/col/c/c_m3d_g_cyl.h" -#include "d/col/c/c_m3d_g_pla.h" -#include "d/col/c/c_m3d_g_sph.h" +#include "common.h" #include "m/m_mtx.h" #include "m/m_vec.h" -#include <common.h> + +struct cM3dGCps; +struct cM3dGCyl; +struct cM3dGSph; class cM3dGUnk { public: |
