projects
/
hair
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
quick backup, commented out some printfs
[hair]
/
src
/
hair.h
diff --git
a/src/hair.h
b/src/hair.h
index
be979ee
..
23aff83
100644
(file)
--- a/
src/hair.h
+++ b/
src/hair.h
@@
-18,6
+18,7
@@
class Hair {
private:
float hair_length;
std::vector<HairStrand> hair;
+ Mat4 xform;
public:
Hair();
@@
-25,6
+26,8
@@
public:
bool init(const Mesh *m, int num_spawns, float thresh = 0.4);
void draw() const;
+
+ void set_transform(Mat4 &xform);
};
#endif //PARTICLES_H_