mirror of
https://github.com/minetest/irrlicht.git
synced 2025-06-29 23:00:34 +02:00
Add GLTF mesh file loader
This commit is contained in:
@ -53,6 +53,9 @@ namespace scene
|
||||
//! Halflife MDL model file
|
||||
EAMT_MDL_HALFLIFE,
|
||||
|
||||
//! Graphics Language Transmission Format 2.0 (.gltf) mesh
|
||||
EAMT_GLTF2,
|
||||
|
||||
//! generic skinned mesh
|
||||
EAMT_SKINNED,
|
||||
|
||||
|
@ -349,6 +349,12 @@ B3D, MS3D or X meshes */
|
||||
#undef _IRR_COMPILE_WITH_OBJ_LOADER_
|
||||
#endif
|
||||
|
||||
//! Define _IRR_COMPILE_WITH_GLTF_LOADER_ if you want to load glTF files
|
||||
#define _IRR_COMPILE_WITH_GLTF_LOADER_
|
||||
#ifdef NO_IRR_COMPILE_WITH_GLTF_LOADER_
|
||||
#undef _IRR_COMPILE_WITH_GLTF_LOADER_
|
||||
#endif
|
||||
|
||||
//! Define _IRR_COMPILE_WITH_BMP_LOADER_ if you want to load .bmp files
|
||||
//! Disabling this loader will also disable the built-in font
|
||||
#define _IRR_COMPILE_WITH_BMP_LOADER_
|
||||
|
Reference in New Issue
Block a user