assimp: Clean and document buildsystem, prepare for unbundling
- Improve the SCsub to allow unbundling and remove unnecessary code.
- Move files around to match upstream source.
- Re-sync with upstream commit 308db73d0b3c2d1870cd3e465eaa283692a4cf23
to ensure we don't have local modifications.
- Doesn't actually build against current version 5.0.1 due to the lack
of the new ArmaturePopulate API that Gordon authored. We'll have to
wait for a public release with that API (5.1?) to enable unbundling.
(cherry picked from commit 9d8a9ea826
)
This commit is contained in:
parent
5bbce634ad
commit
98d0bf7d7a
|
@ -138,6 +138,7 @@ opts.Add(BoolVariable('no_editor_splash', "Don't use the custom splash screen fo
|
||||||
opts.Add('system_certs_path', "Use this path as SSL certificates default for editor (for package maintainers)", '')
|
opts.Add('system_certs_path', "Use this path as SSL certificates default for editor (for package maintainers)", '')
|
||||||
|
|
||||||
# Thirdparty libraries
|
# Thirdparty libraries
|
||||||
|
#opts.Add(BoolVariable('builtin_assimp', "Use the built-in Assimp library", True))
|
||||||
opts.Add(BoolVariable('builtin_bullet', "Use the built-in Bullet library", True))
|
opts.Add(BoolVariable('builtin_bullet', "Use the built-in Bullet library", True))
|
||||||
opts.Add(BoolVariable('builtin_certs', "Bundle default SSL certificates to be used if you don't specify an override in the project settings", True))
|
opts.Add(BoolVariable('builtin_certs', "Bundle default SSL certificates to be used if you don't specify an override in the project settings", True))
|
||||||
opts.Add(BoolVariable('builtin_enet', "Use the built-in ENet library", True))
|
opts.Add(BoolVariable('builtin_enet', "Use the built-in ENet library", True))
|
||||||
|
|
|
@ -4,97 +4,91 @@ Import('env')
|
||||||
Import('env_modules')
|
Import('env_modules')
|
||||||
|
|
||||||
env_assimp = env_modules.Clone()
|
env_assimp = env_modules.Clone()
|
||||||
env_assimp.Prepend(CPPPATH=['#thirdparty/assimp'])
|
|
||||||
env_assimp.Prepend(CPPPATH=['#thirdparty/assimp/include'])
|
|
||||||
env_assimp.Prepend(CPPPATH=['#thirdparty/assimp/code/Importer/IFC'])
|
|
||||||
env_assimp.Prepend(CPPPATH=['#thirdparty/misc'])
|
|
||||||
env_assimp.Prepend(CPPPATH=['#thirdparty/assimp/code'])
|
|
||||||
env_assimp.Prepend(CPPPATH=['#thirdparty/assimp/common'])
|
|
||||||
env_assimp.Prepend(CPPPATH=['#thirdparty/assimp/contrib/irrXML/'])
|
|
||||||
env_assimp.Prepend(CPPPATH=['#thirdparty/assimp/contrib/unzip/'])
|
|
||||||
env_assimp.Prepend(CPPPATH=['#thirdparty/assimp/code/Importer/STEPParser'])
|
|
||||||
env_assimp.Prepend(CPPPATH=['#thirdparty/assimp/'])
|
|
||||||
env_assimp.Prepend(CPPPATH=['#thirdparty/zlib/'])
|
|
||||||
env_assimp.Prepend(CPPPATH=['#thirdparty/assimp/contrib/openddlparser/include'])
|
|
||||||
env_assimp.Prepend(CPPPATH=['#thirdparty/assimp/contrib/rapidjson/include'])
|
|
||||||
env_assimp.Prepend(CPPPATH=['.'])
|
|
||||||
#env_assimp.Append(CPPDEFINES=['ASSIMP_DOUBLE_PRECISION']) # TODO default to what godot is compiled with for future double support
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_BOOST_WORKAROUND'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['OPENDDLPARSER_BUILD'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_OWN_ZLIB'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_EXPORT'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_X_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_AMF_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_3DS_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_MD3_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_MD5_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_MDL_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_MD2_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_PLY_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_ASE_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_OBJ_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_HMP_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_SMD_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_MDC_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_MD5_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_STL_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_LWO_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_DXF_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_NFF_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_RAW_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_SIB_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_OFF_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_AC_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_BVH_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_IRRMESH_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_IRR_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_Q3D_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_B3D_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_COLLADA_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_TERRAGEN_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_CSM_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_3D_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_LWS_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_OGRE_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_OPENGEX_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_MS3D_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_COB_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_BLEND_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_Q3BSP_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_NDO_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_STEP_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_IFC_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_XGL_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_ASSBIN_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_C4D_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_3MF_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_X3D_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_GLTF_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_GLTF2_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_SINGLETHREADED'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_M3D_IMPORTER'])
|
|
||||||
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_MMD_IMPORTER'])
|
|
||||||
|
|
||||||
|
# Force bundled version for now, there's no released version of Assimp with
|
||||||
|
# support for ArmaturePopulate which we use from their master branch.
|
||||||
|
if True: # env['builtin_assimp']:
|
||||||
|
thirdparty_dir = "#thirdparty/assimp"
|
||||||
|
|
||||||
if(env['platform'] == 'windows'):
|
env_assimp.Prepend(CPPPATH=['#thirdparty/assimp'])
|
||||||
|
env_assimp.Prepend(CPPPATH=['#thirdparty/assimp/code'])
|
||||||
|
env_assimp.Prepend(CPPPATH=['#thirdparty/assimp/include'])
|
||||||
|
|
||||||
|
#env_assimp.Append(CPPDEFINES=['ASSIMP_DOUBLE_PRECISION']) # TODO default to what godot is compiled with for future double support
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_SINGLETHREADED'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_BOOST_WORKAROUND'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_OWN_ZLIB'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_EXPORT'])
|
||||||
|
|
||||||
|
# Importers we don't need
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_3D_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_3DS_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_3MF_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_AC_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_AMF_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_ASE_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_ASSBIN_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_B3D_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_BLEND_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_BVH_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_C4D_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_COB_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_COLLADA_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_CSM_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_DXF_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_GLTF2_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_GLTF_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_HMP_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_IFC_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_IRR_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_IRRMESH_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_LWO_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_LWS_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_M3D_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_MD2_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_MD3_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_MD5_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_MD5_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_MDC_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_MDL_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_MMD_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_MS3D_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_NDO_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_NFF_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_OBJ_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_OFF_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_OGRE_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_OPENGEX_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_PLY_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_Q3BSP_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_Q3D_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_RAW_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_SIB_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_SMD_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_STEP_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_STL_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_TERRAGEN_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_X3D_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_XGL_IMPORTER'])
|
||||||
|
env_assimp.Append(CPPDEFINES=['ASSIMP_BUILD_NO_X_IMPORTER'])
|
||||||
|
|
||||||
|
if(env['platform'] == 'windows'):
|
||||||
env_assimp.Append(CPPDEFINES=['PLATFORM_WINDOWS'])
|
env_assimp.Append(CPPDEFINES=['PLATFORM_WINDOWS'])
|
||||||
env_assimp.Append(CPPDEFINES=[('PLATFORM', 'WINDOWS')])
|
env_assimp.Append(CPPDEFINES=[('PLATFORM', 'WINDOWS')])
|
||||||
elif(env['platform'] == 'x11'):
|
elif(env['platform'] == 'x11'):
|
||||||
env_assimp.Append(CPPDEFINES=['PLATFORM_LINUX'])
|
env_assimp.Append(CPPDEFINES=['PLATFORM_LINUX'])
|
||||||
env_assimp.Append(CPPDEFINES=[('PLATFORM', 'LINUX')])
|
env_assimp.Append(CPPDEFINES=[('PLATFORM', 'LINUX')])
|
||||||
elif(env['platform'] == 'osx'):
|
elif(env['platform'] == 'osx'):
|
||||||
env_assimp.Append(CPPDEFINES=['PLATFORM_DARWIN'])
|
env_assimp.Append(CPPDEFINES=['PLATFORM_DARWIN'])
|
||||||
env_assimp.Append(CPPDEFINES=[('PLATFORM', 'DARWIN')])
|
env_assimp.Append(CPPDEFINES=[('PLATFORM', 'DARWIN')])
|
||||||
|
|
||||||
env_thirdparty = env_assimp.Clone()
|
env_thirdparty = env_assimp.Clone()
|
||||||
env_thirdparty.disable_warnings()
|
env_thirdparty.disable_warnings()
|
||||||
env_thirdparty.add_source_files(env.modules_sources, Glob('#thirdparty/assimp/code/Common/*.cpp'))
|
env_thirdparty.add_source_files(env.modules_sources, Glob('#thirdparty/assimp/code/CApi/*.cpp'))
|
||||||
env_thirdparty.add_source_files(env.modules_sources, Glob('#thirdparty/assimp/code/PostProcessing/*.cpp'))
|
env_thirdparty.add_source_files(env.modules_sources, Glob('#thirdparty/assimp/code/Common/*.cpp'))
|
||||||
env_thirdparty.add_source_files(env.modules_sources, Glob('#thirdparty/assimp/code/Material/*.cpp'))
|
env_thirdparty.add_source_files(env.modules_sources, Glob('#thirdparty/assimp/code/PostProcessing/*.cpp'))
|
||||||
env_thirdparty.add_source_files(env.modules_sources, Glob('#thirdparty/assimp/code/FBX/*.cpp'))
|
env_thirdparty.add_source_files(env.modules_sources, Glob('#thirdparty/assimp/code/Material/*.cpp'))
|
||||||
env_thirdparty.add_source_files(env.modules_sources, Glob('#thirdparty/assimp/code/MMD/*.cpp'))
|
env_thirdparty.add_source_files(env.modules_sources, Glob('#thirdparty/assimp/code/FBX/*.cpp'))
|
||||||
env_thirdparty.add_source_files(env.modules_sources, Glob('#thirdparty/assimp/code/glTF/*.cpp'))
|
|
||||||
env_thirdparty.add_source_files(env.modules_sources, Glob('#thirdparty/assimp/code/glTF2/*.cpp'))
|
|
||||||
|
|
||||||
# Godot's own source files
|
# Godot's own source files
|
||||||
env_assimp.add_source_files(env.modules_sources, "*.cpp")
|
env_assimp.add_source_files(env.modules_sources, "*.cpp")
|
||||||
|
|
|
@ -159,6 +159,10 @@ def configure(env):
|
||||||
sys.exit(255)
|
sys.exit(255)
|
||||||
env.ParseConfig('pkg-config bullet --cflags --libs')
|
env.ParseConfig('pkg-config bullet --cflags --libs')
|
||||||
|
|
||||||
|
if False: # not env['builtin_assimp']:
|
||||||
|
# FIXME: Add min version check
|
||||||
|
env.ParseConfig('pkg-config assimp --cflags --libs')
|
||||||
|
|
||||||
if not env['builtin_enet']:
|
if not env['builtin_enet']:
|
||||||
env.ParseConfig('pkg-config libenet --cflags --libs')
|
env.ParseConfig('pkg-config libenet --cflags --libs')
|
||||||
|
|
||||||
|
|
|
@ -228,6 +228,10 @@ def configure(env):
|
||||||
sys.exit(255)
|
sys.exit(255)
|
||||||
env.ParseConfig('pkg-config bullet --cflags --libs')
|
env.ParseConfig('pkg-config bullet --cflags --libs')
|
||||||
|
|
||||||
|
if False: # not env['builtin_assimp']:
|
||||||
|
# FIXME: Add min version check
|
||||||
|
env.ParseConfig('pkg-config assimp --cflags --libs')
|
||||||
|
|
||||||
if not env['builtin_enet']:
|
if not env['builtin_enet']:
|
||||||
env.ParseConfig('pkg-config libenet --cflags --libs')
|
env.ParseConfig('pkg-config libenet --cflags --libs')
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,20 @@
|
||||||
## assimp
|
## assimp
|
||||||
|
|
||||||
- Upstream: http://github.com/assimp/assimp
|
- Upstream: http://github.com/assimp/assimp
|
||||||
- Version: git (308db73d0b3c2d1870cd3e465eaa283692a4cf23)
|
- Version: git (308db73d0b3c2d1870cd3e465eaa283692a4cf23, 2019)
|
||||||
- License: BSD-3-Clause
|
- License: BSD-3-Clause
|
||||||
|
|
||||||
|
Files extracted from upstream source:
|
||||||
|
|
||||||
|
- Run `cmake .` in root folder to generate files
|
||||||
|
- `code/{CApi,Common,FBX,Material,PostProcessing}/`
|
||||||
|
- `contrib/utf8cpp/source/`
|
||||||
|
- `include/`
|
||||||
|
- `revision.h`
|
||||||
|
- `CREDITS` and `LICENSE` files
|
||||||
|
- `rm -f code/Common/ZipArchiveIOSystem.cpp include/assimp/ZipArchiveIOSystem.h
|
||||||
|
include/assimp/irrXMLWrapper.h`
|
||||||
|
|
||||||
|
|
||||||
## bullet
|
## bullet
|
||||||
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
utf8 cpp library
|
|
||||||
Release 2.3.4
|
|
||||||
|
|
||||||
A minor bug fix release. Thanks to all who reported bugs.
|
|
||||||
|
|
||||||
Note: Version 2.3.3 contained a regression, and therefore was removed.
|
|
||||||
|
|
||||||
Changes from version 2.3.2
|
|
||||||
- Bug fix [39]: checked.h Line 273 and unchecked.h Line 182 have an extra ';'
|
|
||||||
- Bug fix [36]: replace_invalid() only works with back_inserter
|
|
||||||
|
|
||||||
Files included in the release: utf8.h, core.h, checked.h, unchecked.h, utf8cpp.html, ReleaseNotes
|
|
File diff suppressed because it is too large
Load Diff
|
@ -60,6 +60,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#ifndef AI_CONFIG_H_INC
|
#ifndef AI_CONFIG_H_INC
|
||||||
#define AI_CONFIG_H_INC
|
#define AI_CONFIG_H_INC
|
||||||
|
|
||||||
|
|
||||||
// ###########################################################################
|
// ###########################################################################
|
||||||
// LIBRARY SETTINGS
|
// LIBRARY SETTINGS
|
||||||
// General, global settings
|
// General, global settings
|
||||||
|
@ -78,6 +79,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#define AI_CONFIG_GLOB_MEASURE_TIME \
|
#define AI_CONFIG_GLOB_MEASURE_TIME \
|
||||||
"GLOB_MEASURE_TIME"
|
"GLOB_MEASURE_TIME"
|
||||||
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
/** @brief Global setting to disable generation of skeleton dummy meshes
|
/** @brief Global setting to disable generation of skeleton dummy meshes
|
||||||
*
|
*
|
||||||
|
@ -89,7 +91,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#define AI_CONFIG_IMPORT_NO_SKELETON_MESHES \
|
#define AI_CONFIG_IMPORT_NO_SKELETON_MESHES \
|
||||||
"IMPORT_NO_SKELETON_MESHES"
|
"IMPORT_NO_SKELETON_MESHES"
|
||||||
|
|
||||||
#if 0 // not implemented yet
|
|
||||||
|
|
||||||
|
# if 0 // not implemented yet
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
/** @brief Set Assimp's multithreading policy.
|
/** @brief Set Assimp's multithreading policy.
|
||||||
*
|
*
|
||||||
|
@ -114,6 +118,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
// Various stuff to fine-tune the behavior of a specific post processing step.
|
// Various stuff to fine-tune the behavior of a specific post processing step.
|
||||||
// ###########################################################################
|
// ###########################################################################
|
||||||
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
/** @brief Maximum bone count per mesh for the SplitbyBoneCount step.
|
/** @brief Maximum bone count per mesh for the SplitbyBoneCount step.
|
||||||
*
|
*
|
||||||
|
@ -126,11 +131,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#define AI_CONFIG_PP_SBBC_MAX_BONES \
|
#define AI_CONFIG_PP_SBBC_MAX_BONES \
|
||||||
"PP_SBBC_MAX_BONES"
|
"PP_SBBC_MAX_BONES"
|
||||||
|
|
||||||
|
|
||||||
// default limit for bone count
|
// default limit for bone count
|
||||||
#if (!defined AI_SBBC_DEFAULT_MAX_BONES)
|
#if (!defined AI_SBBC_DEFAULT_MAX_BONES)
|
||||||
#define AI_SBBC_DEFAULT_MAX_BONES 60
|
# define AI_SBBC_DEFAULT_MAX_BONES 60
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
/** @brief Specifies the maximum angle that may be between two vertex tangents
|
/** @brief Specifies the maximum angle that may be between two vertex tangents
|
||||||
* that their tangents and bi-tangents are smoothed.
|
* that their tangents and bi-tangents are smoothed.
|
||||||
|
@ -167,6 +174,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#define AI_CONFIG_PP_GSN_MAX_SMOOTHING_ANGLE \
|
#define AI_CONFIG_PP_GSN_MAX_SMOOTHING_ANGLE \
|
||||||
"PP_GSN_MAX_SMOOTHING_ANGLE"
|
"PP_GSN_MAX_SMOOTHING_ANGLE"
|
||||||
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
/** @brief Sets the colormap (= palette) to be used to decode embedded
|
/** @brief Sets the colormap (= palette) to be used to decode embedded
|
||||||
* textures in MDL (Quake or 3DGS) files.
|
* textures in MDL (Quake or 3DGS) files.
|
||||||
|
@ -302,7 +310,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
// default value for AI_CONFIG_PP_SLM_TRIANGLE_LIMIT
|
// default value for AI_CONFIG_PP_SLM_TRIANGLE_LIMIT
|
||||||
#if (!defined AI_SLM_DEFAULT_MAX_TRIANGLES)
|
#if (!defined AI_SLM_DEFAULT_MAX_TRIANGLES)
|
||||||
#define AI_SLM_DEFAULT_MAX_TRIANGLES 1000000
|
# define AI_SLM_DEFAULT_MAX_TRIANGLES 1000000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
@ -318,7 +326,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
// default value for AI_CONFIG_PP_SLM_VERTEX_LIMIT
|
// default value for AI_CONFIG_PP_SLM_VERTEX_LIMIT
|
||||||
#if (!defined AI_SLM_DEFAULT_MAX_VERTICES)
|
#if (!defined AI_SLM_DEFAULT_MAX_VERTICES)
|
||||||
#define AI_SLM_DEFAULT_MAX_VERTICES 1000000
|
# define AI_SLM_DEFAULT_MAX_VERTICES 1000000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
@ -332,7 +340,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
// default value for AI_CONFIG_PP_LBW_MAX_WEIGHTS
|
// default value for AI_CONFIG_PP_LBW_MAX_WEIGHTS
|
||||||
#if (!defined AI_LMW_MAX_WEIGHTS)
|
#if (!defined AI_LMW_MAX_WEIGHTS)
|
||||||
#define AI_LMW_MAX_WEIGHTS 0x4
|
# define AI_LMW_MAX_WEIGHTS 0x4
|
||||||
#endif // !! AI_LMW_MAX_WEIGHTS
|
#endif // !! AI_LMW_MAX_WEIGHTS
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
@ -346,7 +354,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
// default value for AI_CONFIG_PP_LBW_MAX_WEIGHTS
|
// default value for AI_CONFIG_PP_LBW_MAX_WEIGHTS
|
||||||
#if (!defined AI_DEBONE_THRESHOLD)
|
#if (!defined AI_DEBONE_THRESHOLD)
|
||||||
#define AI_DEBONE_THRESHOLD 1.0f
|
# define AI_DEBONE_THRESHOLD 1.0f
|
||||||
#endif // !! AI_DEBONE_THRESHOLD
|
#endif // !! AI_DEBONE_THRESHOLD
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
@ -361,7 +369,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
/** @brief Default value for the #AI_CONFIG_PP_ICL_PTCACHE_SIZE property
|
/** @brief Default value for the #AI_CONFIG_PP_ICL_PTCACHE_SIZE property
|
||||||
*/
|
*/
|
||||||
#ifndef PP_ICL_PTCACHE_SIZE
|
#ifndef PP_ICL_PTCACHE_SIZE
|
||||||
#define PP_ICL_PTCACHE_SIZE 12
|
# define PP_ICL_PTCACHE_SIZE 12
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
@ -383,15 +391,16 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* See the documentation to #aiProcess_RemoveComponent for more details.
|
* See the documentation to #aiProcess_RemoveComponent for more details.
|
||||||
*/
|
*/
|
||||||
enum aiComponent {
|
enum aiComponent
|
||||||
/** Normal vectors */
|
{
|
||||||
|
/** Normal vectors */
|
||||||
#ifdef SWIG
|
#ifdef SWIG
|
||||||
aiComponent_NORMALS = 0x2,
|
aiComponent_NORMALS = 0x2,
|
||||||
#else
|
#else
|
||||||
aiComponent_NORMALS = 0x2u,
|
aiComponent_NORMALS = 0x2u,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** Tangents and bitangents go always together ... */
|
/** Tangents and bitangents go always together ... */
|
||||||
#ifdef SWIG
|
#ifdef SWIG
|
||||||
aiComponent_TANGENTS_AND_BITANGENTS = 0x4,
|
aiComponent_TANGENTS_AND_BITANGENTS = 0x4,
|
||||||
#else
|
#else
|
||||||
|
@ -436,7 +445,8 @@ enum aiComponent {
|
||||||
* be generated, so aiScene::mNumMaterials will be 1. */
|
* be generated, so aiScene::mNumMaterials will be 1. */
|
||||||
aiComponent_MATERIALS = 0x800,
|
aiComponent_MATERIALS = 0x800,
|
||||||
|
|
||||||
/** This value is not used. It is just there to force the
|
|
||||||
|
/** This value is not used. It is just there to force the
|
||||||
* compiler to map this enum to a 32 Bit integer. */
|
* compiler to map this enum to a 32 Bit integer. */
|
||||||
#ifndef SWIG
|
#ifndef SWIG
|
||||||
_aiComponent_Force32Bit = 0x9fffffff
|
_aiComponent_Force32Bit = 0x9fffffff
|
||||||
|
@ -444,10 +454,10 @@ enum aiComponent {
|
||||||
};
|
};
|
||||||
|
|
||||||
// Remove a specific color channel 'n'
|
// Remove a specific color channel 'n'
|
||||||
#define aiComponent_COLORSn(n) (1u << (n + 20u))
|
#define aiComponent_COLORSn(n) (1u << (n+20u))
|
||||||
|
|
||||||
// Remove a specific UV channel 'n'
|
// Remove a specific UV channel 'n'
|
||||||
#define aiComponent_TEXCOORDSn(n) (1u << (n + 25u))
|
#define aiComponent_TEXCOORDSn(n) (1u << (n+25u))
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
/** @brief Input parameter to the #aiProcess_RemoveComponent step:
|
/** @brief Input parameter to the #aiProcess_RemoveComponent step:
|
||||||
|
@ -488,6 +498,14 @@ enum aiComponent {
|
||||||
#define AI_CONFIG_PP_FID_ANIM_ACCURACY \
|
#define AI_CONFIG_PP_FID_ANIM_ACCURACY \
|
||||||
"PP_FID_ANIM_ACCURACY"
|
"PP_FID_ANIM_ACCURACY"
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
/** @brief Input parameter to the #aiProcess_FindInvalidData step:
|
||||||
|
* Set to true to ignore texture coordinates. This may be useful if you have
|
||||||
|
* to assign different kind of textures like one for the summer or one for the winter.
|
||||||
|
*/
|
||||||
|
#define AI_CONFIG_PP_FID_IGNORE_TEXTURECOORDS \
|
||||||
|
"PP_FID_IGNORE_TEXTURECOORDS"
|
||||||
|
|
||||||
// TransformUVCoords evaluates UV scalings
|
// TransformUVCoords evaluates UV scalings
|
||||||
#define AI_UVTRAFO_SCALING 0x1
|
#define AI_UVTRAFO_SCALING 0x1
|
||||||
|
|
||||||
|
@ -500,14 +518,6 @@ enum aiComponent {
|
||||||
// Everything baked together -> default value
|
// Everything baked together -> default value
|
||||||
#define AI_UVTRAFO_ALL (AI_UVTRAFO_SCALING | AI_UVTRAFO_ROTATION | AI_UVTRAFO_TRANSLATION)
|
#define AI_UVTRAFO_ALL (AI_UVTRAFO_SCALING | AI_UVTRAFO_ROTATION | AI_UVTRAFO_TRANSLATION)
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
|
||||||
/** @brief Input parameter to the #aiProcess_FindInvalidData step:
|
|
||||||
* Set to true to ignore texture coordinates. This may be useful if you have
|
|
||||||
* to assign different kind of textures like one for the summer or one for the winter.
|
|
||||||
*/
|
|
||||||
#define AI_CONFIG_PP_FID_IGNORE_TEXTURECOORDS \
|
|
||||||
"PP_FID_IGNORE_TEXTURECOORDS"
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
/** @brief Input parameter to the #aiProcess_TransformUVCoords step:
|
/** @brief Input parameter to the #aiProcess_TransformUVCoords step:
|
||||||
* Specifies which UV transformations are evaluated.
|
* Specifies which UV transformations are evaluated.
|
||||||
|
@ -531,11 +541,13 @@ enum aiComponent {
|
||||||
#define AI_CONFIG_FAVOUR_SPEED \
|
#define AI_CONFIG_FAVOUR_SPEED \
|
||||||
"FAVOUR_SPEED"
|
"FAVOUR_SPEED"
|
||||||
|
|
||||||
|
|
||||||
// ###########################################################################
|
// ###########################################################################
|
||||||
// IMPORTER SETTINGS
|
// IMPORTER SETTINGS
|
||||||
// Various stuff to fine-tune the behaviour of specific importer plugins.
|
// Various stuff to fine-tune the behaviour of specific importer plugins.
|
||||||
// ###########################################################################
|
// ###########################################################################
|
||||||
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
/** @brief Set whether the fbx importer will merge all geometry layers present
|
/** @brief Set whether the fbx importer will merge all geometry layers present
|
||||||
* in the source file or take only the first.
|
* in the source file or take only the first.
|
||||||
|
@ -639,22 +651,22 @@ enum aiComponent {
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
/** @brief Set whether the fbx importer will use the legacy embedded texture naming.
|
/** @brief Set whether the fbx importer will use the legacy embedded texture naming.
|
||||||
*
|
*
|
||||||
* The default value is false (0)
|
* The default value is false (0)
|
||||||
* Property type: bool
|
* Property type: bool
|
||||||
*/
|
*/
|
||||||
#define AI_CONFIG_IMPORT_FBX_EMBEDDED_TEXTURES_LEGACY_NAMING \
|
#define AI_CONFIG_IMPORT_FBX_EMBEDDED_TEXTURES_LEGACY_NAMING \
|
||||||
"AI_CONFIG_IMPORT_FBX_EMBEDDED_TEXTURES_LEGACY_NAMING"
|
"AI_CONFIG_IMPORT_FBX_EMBEDDED_TEXTURES_LEGACY_NAMING"
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
/** @brief Set wether the FBX importer shall not remove empty bones.
|
/** @brief Set wether the importer shall not remove empty bones.
|
||||||
*
|
|
||||||
*
|
*
|
||||||
* Empty bone are often used to define connections for other models.
|
* Empty bone are often used to define connections for other models.
|
||||||
*/
|
*/
|
||||||
#define AI_CONFIG_IMPORT_REMOVE_EMPTY_BONES \
|
#define AI_CONFIG_IMPORT_REMOVE_EMPTY_BONES \
|
||||||
"AI_CONFIG_IMPORT_REMOVE_EMPTY_BONES"
|
"AI_CONFIG_IMPORT_REMOVE_EMPTY_BONES"
|
||||||
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
/** @brief Set wether the FBX importer shall convert the unit from cm to m.
|
/** @brief Set wether the FBX importer shall convert the unit from cm to m.
|
||||||
*/
|
*/
|
||||||
|
@ -877,13 +889,13 @@ enum aiComponent {
|
||||||
#define AI_CONFIG_IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME \
|
#define AI_CONFIG_IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME \
|
||||||
"IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME"
|
"IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME"
|
||||||
|
|
||||||
/** @brief Specifies whether the Android JNI asset extraction is supported.
|
/** @brief Specifies whether the Android JNI asset extraction is supported.
|
||||||
*
|
*
|
||||||
* Turn on this option if you want to manage assets in native
|
* Turn on this option if you want to manage assets in native
|
||||||
* Android application without having to keep the internal directory and asset
|
* Android application without having to keep the internal directory and asset
|
||||||
* manager pointer.
|
* manager pointer.
|
||||||
*/
|
*/
|
||||||
#define AI_CONFIG_ANDROID_JNI_ASSIMP_MANAGER_SUPPORT "AI_CONFIG_ANDROID_JNI_ASSIMP_MANAGER_SUPPORT"
|
#define AI_CONFIG_ANDROID_JNI_ASSIMP_MANAGER_SUPPORT "AI_CONFIG_ANDROID_JNI_ASSIMP_MANAGER_SUPPORT"
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
/** @brief Specifies whether the IFC loader skips over IfcSpace elements.
|
/** @brief Specifies whether the IFC loader skips over IfcSpace elements.
|
||||||
|
@ -922,7 +934,7 @@ enum aiComponent {
|
||||||
|
|
||||||
// default value for AI_CONFIG_IMPORT_IFC_SMOOTHING_ANGLE
|
// default value for AI_CONFIG_IMPORT_IFC_SMOOTHING_ANGLE
|
||||||
#if (!defined AI_IMPORT_IFC_DEFAULT_SMOOTHING_ANGLE)
|
#if (!defined AI_IMPORT_IFC_DEFAULT_SMOOTHING_ANGLE)
|
||||||
#define AI_IMPORT_IFC_DEFAULT_SMOOTHING_ANGLE 10.0f
|
# define AI_IMPORT_IFC_DEFAULT_SMOOTHING_ANGLE 10.0f
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
@ -938,7 +950,7 @@ enum aiComponent {
|
||||||
|
|
||||||
// default value for AI_CONFIG_IMPORT_IFC_CYLINDRICAL_TESSELLATION
|
// default value for AI_CONFIG_IMPORT_IFC_CYLINDRICAL_TESSELLATION
|
||||||
#if (!defined AI_IMPORT_IFC_DEFAULT_CYLINDRICAL_TESSELLATION)
|
#if (!defined AI_IMPORT_IFC_DEFAULT_CYLINDRICAL_TESSELLATION)
|
||||||
#define AI_IMPORT_IFC_DEFAULT_CYLINDRICAL_TESSELLATION 32
|
# define AI_IMPORT_IFC_DEFAULT_CYLINDRICAL_TESSELLATION 32
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
@ -969,8 +981,12 @@ enum aiComponent {
|
||||||
|
|
||||||
#define AI_CONFIG_EXPORT_XFILE_64BIT "EXPORT_XFILE_64BIT"
|
#define AI_CONFIG_EXPORT_XFILE_64BIT "EXPORT_XFILE_64BIT"
|
||||||
|
|
||||||
/**
|
/** @brief Specifies whether the assimp export shall be able to export point clouds
|
||||||
*
|
*
|
||||||
|
* When this flag is not defined the render data has to contain valid faces.
|
||||||
|
* Point clouds are only a collection of vertices which have nor spatial organization
|
||||||
|
* by a face and the validation process will remove them. Enabling this feature will
|
||||||
|
* switch off the flag and enable the functionality to export pure point clouds.
|
||||||
*/
|
*/
|
||||||
#define AI_CONFIG_EXPORT_POINT_CLOUDS "EXPORT_POINT_CLOUDS"
|
#define AI_CONFIG_EXPORT_POINT_CLOUDS "EXPORT_POINT_CLOUDS"
|
||||||
|
|
||||||
|
@ -980,7 +996,7 @@ enum aiComponent {
|
||||||
#define AI_CONFIG_GLOBAL_SCALE_FACTOR_KEY "GLOBAL_SCALE_FACTOR"
|
#define AI_CONFIG_GLOBAL_SCALE_FACTOR_KEY "GLOBAL_SCALE_FACTOR"
|
||||||
|
|
||||||
#if (!defined AI_CONFIG_GLOBAL_SCALE_FACTOR_DEFAULT)
|
#if (!defined AI_CONFIG_GLOBAL_SCALE_FACTOR_DEFAULT)
|
||||||
#define AI_CONFIG_GLOBAL_SCALE_FACTOR_DEFAULT 1.0f
|
# define AI_CONFIG_GLOBAL_SCALE_FACTOR_DEFAULT 1.0f
|
||||||
#endif // !! AI_DEBONE_THRESHOLD
|
#endif // !! AI_DEBONE_THRESHOLD
|
||||||
|
|
||||||
#define AI_CONFIG_APP_SCALE_KEY "APP_SCALE_FACTOR"
|
#define AI_CONFIG_APP_SCALE_KEY "APP_SCALE_FACTOR"
|
||||||
|
@ -997,7 +1013,6 @@ enum aiComponent {
|
||||||
* Property type: Bool. Default value: undefined.
|
* Property type: Bool. Default value: undefined.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* #cmakedefine ASSIMP_DOUBLE_PRECISION 1 */
|
/* #undef ASSIMP_DOUBLE_PRECISION */
|
||||||
|
|
||||||
#endif // !! AI_CONFIG_H_INC
|
#endif // !! AI_CONFIG_H_INC
|
||||||
|
|
Loading…
Reference in New Issue