Replaced the collision detection with a check of the angle
authorEleni Maria Stea <estea@igalia.com>
Sat, 26 Jan 2019 18:51:42 +0000 (20:51 +0200)
committerEleni Maria Stea <estea@igalia.com>
Sat, 26 Jan 2019 19:00:30 +0000 (21:00 +0200)
Instead of performing collision detection with a sphere, I now calculate
the dot product between the normal and the hair and if it's negative (=>
the hair falls inside the head) we calc the projection of the hair on
the head and find the new position from that.


No differences found