Make Clang happy
parent
2b252bb9a5
commit
301748be6a
|
@ -339,6 +339,7 @@ enum {
|
|||
m3dc_cylinder,
|
||||
m3dc_shpere,
|
||||
m3dc_torus,
|
||||
m3dc_cone,
|
||||
m3dc_cube
|
||||
};
|
||||
|
||||
|
@ -602,6 +603,7 @@ static m3dcd_t m3d_commandtypes[] = {
|
|||
M3D_CMDDEF(m3dc_cylinder,"cylinder",6, m3dcp_vi_t, m3dcp_qi_t, m3dcp_vc_t, m3dcp_vi_t, m3dcp_qi_t, m3dcp_vc_t, 0, 0),
|
||||
M3D_CMDDEF(m3dc_shpere, "shpere", 2, m3dcp_vi_t, m3dcp_vc_t, 0, 0, 0, 0, 0, 0),
|
||||
M3D_CMDDEF(m3dc_torus, "torus", 4, m3dcp_vi_t, m3dcp_qi_t, m3dcp_vc_t, m3dcp_vc_t, 0, 0, 0, 0),
|
||||
M3D_CMDDEF(m3dc_cone, "cone", 3, m3dcp_vi_t, m3dcp_vi_t, m3dcp_vi_t, 0, 0, 0, 0, 0),
|
||||
M3D_CMDDEF(m3dc_cube, "cube", 3, m3dcp_vi_t, m3dcp_vi_t, m3dcp_vi_t, 0, 0, 0, 0, 0)
|
||||
};
|
||||
#endif
|
||||
|
|
|
@ -54,7 +54,7 @@ class utM3DImportExport : public AbstractImportExportBase {
|
|||
public:
|
||||
virtual bool importerTest() {
|
||||
Assimp::Importer importer;
|
||||
const aiScene *scene = importer.ReadFile( ASSIMP_TEST_MODELS_DIR "/M3D/cube_usemtl.m3d", aiProcess_ValidateDataStructure );
|
||||
const aiScene *scene = importer.ReadFile( ASSIMP_TEST_MODELS_DIR "/M3D/cube_normals.m3d", aiProcess_ValidateDataStructure );
|
||||
#ifndef ASSIMP_BUILD_NO_M3D_IMPORTER
|
||||
return nullptr != scene;
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue