projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mirror mtledit
[laserbrain_demo]
/
src
/
material.h
diff --git
a/src/material.h
b/src/material.h
index
5cf3533
..
3d0b566
100644
(file)
--- a/
src/material.h
+++ b/
src/material.h
@@
-25,6
+25,9
@@
public:
float shininess;
float alpha;
float shininess;
float alpha;
+ float reflect;
+ bool flat_mirror;
+
Texture *stdtex[NUM_MTL_TEXTURES];
std::vector<Texture*> textures;
Texture *stdtex[NUM_MTL_TEXTURES];
std::vector<Texture*> textures;
@@
-32,6
+35,7
@@
public:
void setup() const;
void add_texture(Texture *tex, int type = MTL_TEX_UNKNOWN);
void setup() const;
void add_texture(Texture *tex, int type = MTL_TEX_UNKNOWN);
+ void remove_texture(Texture *tex);
};
// returns MTL_TEX_whatever by name
};
// returns MTL_TEX_whatever by name