mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-10 04:49:01 +08:00
Make this code buildable as is
Signed-off by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info>
This commit is contained in:
parent
c81be8f87d
commit
90ff6f7ce9
@ -1,4 +1,4 @@
|
||||
{ "obj_filename" : "../common/cornellbox_suzanne.obj",
|
||||
{ "obj_filename" : "cornellbox_suzanne.obj",
|
||||
"scene_scale" : 1.0,
|
||||
"width" : 512,
|
||||
"height" : 512,
|
||||
|
1529
examples/raytrace/cornellbox_suzanne.obj
Normal file
1529
examples/raytrace/cornellbox_suzanne.obj
Normal file
File diff suppressed because it is too large
Load Diff
1
examples/raytrace/nanort.cc
Normal file
1
examples/raytrace/nanort.cc
Normal file
@ -0,0 +1 @@
|
||||
#include "nanort.h"
|
2313
examples/raytrace/nanort.h
Normal file
2313
examples/raytrace/nanort.h
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
#include "obj-loader.h"
|
||||
#include "../../nanort.h" // for float3
|
||||
#include "nanort.h" // for float3
|
||||
|
||||
#define TINYOBJLOADER_IMPLEMENTATION
|
||||
#include "tiny_obj_loader.h"
|
||||
|
@ -41,7 +41,7 @@ THE SOFTWARE.
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "../../nanort.h"
|
||||
#include "nanort.h"
|
||||
#include "matrix.h"
|
||||
#include "material.h"
|
||||
#include "mesh.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user