projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
quick backup of the renderer - things missing
[demo]
/
src
/
mesh.h
diff --git
a/src/mesh.h
b/src/mesh.h
index
36a79cd
..
a7fb327
100644
(file)
--- a/
src/mesh.h
+++ b/
src/mesh.h
@@
-24,12
+24,15
@@
public:
std::vector<Vec3> normals;
std::vector<Vec3> tangents;
std::vector<Vec2> tex_coords;
std::vector<Vec3> normals;
std::vector<Vec3> tangents;
std::vector<Vec2> tex_coords;
+
std::string name;
std::string name;
+ unsigned int mat_idx;
- unsigned int which_mask;
Mesh();
virtual ~Mesh() = 0;
Mesh();
virtual ~Mesh() = 0;
+
+ virtual void draw() const = 0;
};
#endif // MESH_H_
\ No newline at end of file
};
#endif // MESH_H_
\ No newline at end of file