Skip to content

Commit

Permalink
extern: Move most third-party dependencies to extern
Browse files Browse the repository at this point in the history
With the exception of miniz, third-party source is now in extern/
folder.
  • Loading branch information
zeux committed Feb 8, 2020
1 parent dd86053 commit eb9ec11
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion demo/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <vector>

#include "../tools/fast_obj.h"
#include "../extern/fast_obj.h"
#include "miniz.h"

// This file uses assert() to verify algorithm correctness
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions gltf/basistoktx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include <stdio.h>
#include <string.h>

#include "basisu_format.h"
#include "khr_df.h"
#include "../extern/basisu_format.h"
#include "../extern/khr_df.h"

// KTX Specification: 2. File Structure
struct Ktx2Header
Expand Down
2 changes: 1 addition & 1 deletion gltf/gltfpack.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define _CRT_NONSTDC_NO_WARNINGS
#endif

#include "../tools/cgltf.h"
#include "../extern/cgltf.h"

#include <assert.h>

Expand Down
2 changes: 1 addition & 1 deletion gltf/parseobj.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This file is part of gltfpack; see gltfpack.h for version/license details
#include "gltfpack.h"

#include "../tools/fast_obj.h"
#include "../extern/fast_obj.h"

#include <algorithm>

Expand Down
4 changes: 2 additions & 2 deletions tools/lodviewer.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#define _CRT_SECURE_NO_WARNINGS

#include "../src/meshoptimizer.h"
#include "fast_obj.h"
#include "cgltf.h"
#include "../extern/fast_obj.h"
#include "../extern/cgltf.h"

#include <algorithm>
#include <cmath>
Expand Down
4 changes: 2 additions & 2 deletions tools/meshloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#endif

#define CGLTF_IMPLEMENTATION
#include "cgltf.h"
#include "../extern/cgltf.h"

#define FAST_OBJ_IMPLEMENTATION
#include "fast_obj.h"
#include "../extern/fast_obj.h"
2 changes: 1 addition & 1 deletion tools/vcachetester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <vector>

#include "../src/meshoptimizer.h"
#include "fast_obj.h"
#include "../extern/fast_obj.h"

#pragma comment(lib, "d3d11.lib")
#pragma comment(lib, "d3dcompiler.lib")
Expand Down
2 changes: 1 addition & 1 deletion tools/vcachetuner.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "../src/meshoptimizer.h"
#include "fast_obj.h"
#include "../extern/fast_obj.h"
#include "../demo/miniz.h"

#include <algorithm>
Expand Down

0 comments on commit eb9ec11

Please sign in to comment.