fix an error in the hair intersection code reported by Pramook Khungurn
parent
103a72ad6c
commit
cf4ba27ee9
|
@ -527,7 +527,7 @@ public:
|
|||
dot(pointFar - v2, n2) <= 0) {
|
||||
if (farT > maxt)
|
||||
return false;
|
||||
p = Point(rayO + rayD * nearT);
|
||||
p = Point(rayO + rayD * farT);
|
||||
t = (Float) farT;
|
||||
} else {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue