projects
/
hair
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added sphere around the head, removed debugging stuff, 90s look
[hair]
/
src
/
hair.cc
diff --git
a/src/hair.cc
b/src/hair.cc
index
b2eb4a0
..
de31ed8
100644
(file)
--- a/
src/hair.cc
+++ b/
src/hair.cc
@@
-147,6
+147,7
@@
void Hair::draw() const
glVertex3f(p.x, p.y, p.z);
Vec3 dir = normalize(hair[i].pos - p) * hair_length;
Vec3 end = p + dir;
+ glColor3f(1, 1, 0);
glVertex3f(end.x, end.y, end.z);
/*
glColor3f(1, 1, 0);