split Wavefront .obj to graphics conversion in a reusable file (Wavefront2GLInstanceGraphicsShape.*)
This commit is contained in:
9
Demos3/ImportObjDemo/Wavefront2GLInstanceGraphicsShape.h
Normal file
9
Demos3/ImportObjDemo/Wavefront2GLInstanceGraphicsShape.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef WAVEFRONT2GRAPHICS_H
|
||||
#define WAVEFRONT2GRAPHICS_H
|
||||
|
||||
#include"../Wavefront/tiny_obj_loader.h"
|
||||
#include <vector>
|
||||
|
||||
struct GLInstanceGraphicsShape* btgCreateGraphicsShapeFromWavefrontObj(std::vector<tinyobj::shape_t>& shapes);
|
||||
|
||||
#endif //WAVEFRONT2GRAPHICS_H
|
||||
Reference in New Issue
Block a user