Fix where stb image is actually implemented

Signed-off-by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info>
This commit is contained in:
Arthur Brainville 2018-02-19 01:27:42 +01:00 committed by Arthur Brainville (Ybalrid)
parent 1340e62848
commit 088aa0210f
No known key found for this signature in database
GPG Key ID: BC05C4812A06BCF3
2 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,6 @@
#include <iostream>
#define TINYGLTF_IMPLEMENTATION
#define STB_IMAGE_IMPLEMENTATION
#include "tiny_gltf.h"
namespace example {
@ -17,9 +16,10 @@ static std::string GetFilePathExtension(const std::string &FileName) {
///
/// Loads glTF 2.0 mesh
///
bool LoadGLTF(const std::string &filename, float scale, std::vector<Mesh<float> > *meshes, std::vector<Material> *materials, std::vector<Texture> *textures)
{
bool LoadGLTF(const std::string &filename, float scale,
std::vector<Mesh<float> > *meshes,
std::vector<Material> *materials,
std::vector<Texture> *textures) {
// TODO(syoyo): Implement
// TODO(syoyo): Texture
// TODO(syoyo): Material

View File

@ -1,3 +1,3 @@
#define STB_IMAGE_IMPLEMENTATION
#include "tiny_gltf.h"
#include "stb_image.h"