Harmonize Importer #includes (#6065)
* Harmonize Importer #includes Some importers referred to their headers via `#include "AssetLib/[format]/[header.h"`, others via `#include "[header].h"`, others mixed both (e.g. IRR). This is a matter of taste, but it should at least be done the same way everywhere. Most importers seem to prefer `#include "[header].h"`, so this commit enforces it. Cross-referencing files from other importers is still done through `AssetLib/[format]`. Assimp headers are not affected and I would advise against changing them, as this could lead to subtle collisions with user includes. * went one too far --------- Co-authored-by: Krishty <krishty@krishty.com> Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
This commit is contained in:
@@ -44,9 +44,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#ifndef ASSIMP_BUILD_NO_MDC_IMPORTER
|
||||
|
||||
// internal headers
|
||||
#include "AssetLib/MDC/MDCLoader.h"
|
||||
#include "MDCLoader.h"
|
||||
#include "AssetLib/MD3/MD3FileData.h"
|
||||
#include "AssetLib/MDC/MDCNormalTable.h" // shouldn't be included by other units
|
||||
#include "MDCNormalTable.h" // shouldn't be included by other units
|
||||
|
||||
#include <assimp/importerdesc.h>
|
||||
#include <assimp/scene.h>
|
||||
|
||||
Reference in New Issue
Block a user