diff options
| author | KonAki <konaki@anokonaki.org> | 2026-10-11 21:57:22 +0800 |
|---|---|---|
| committer | KonAki <konaki@anokonaki.org> | 2026-10-11 21:57:22 +0800 |
| commit | 95bd48a7b0556adab5250cae766ee9dd9c6b2cde (patch) | |
| tree | a29b83a4f436d6c58321a44977e4eb6d30f7c8d8 /kon/konmodel.h | |
| parent | 42630ebee76996a37f5104e6e11b860f31634dab (diff) | |
konsofren: 3D is opt-in with KONSOFREN_3D, build.sh sets it for 3d, model and sector
Diffstat (limited to 'kon/konmodel.h')
| -rw-r--r-- | kon/konmodel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kon/konmodel.h b/kon/konmodel.h index 8ce36c8..9120194 100644 --- a/kon/konmodel.h +++ b/kon/konmodel.h @@ -33,6 +33,10 @@ #include "konsofren.h" #include "konassets.h" +#ifndef KONSOFREN_HAS_3D +#error "this needs the 3D part of konsofren, define KONSOFREN_3D before the first include of konsofren.h (build.sh does it for -m 3d, model and sector)" +#endif + /*** definition ***/ #define KON_MODEL_MAX_BONES 128 |
