projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
assign mesh, material to objects
[demo]
/
src
/
mesh.h
diff --git
a/src/mesh.h
b/src/mesh.h
index
36a79cd
..
6482bde
100644
(file)
--- a/
src/mesh.h
+++ b/
src/mesh.h
@@
-24,7
+24,9
@@
public:
std::vector<Vec3> normals;
std::vector<Vec3> tangents;
std::vector<Vec2> tex_coords;
+
std::string name;
+ unsigned int mat_idx;
unsigned int which_mask;