Closed cadop closed 4 years ago
https://github.com/lighttransport/nanort/blob/8f8ce2286624df355d59f4e418c8ce3fa22fc577/nanort.h#L736
Documentation for Traverse
is described here.
There was some inconsistencies in README.md and the source code, so modified it in this commit: https://github.com/lighttransport/nanort/commit/65d776edaffe8dee0eb3b31d9c646459c4a52fa9
In the readme/documentation, the code example says that the
accel.Traverse()
returns the nearest hit point. However, it is abool
, so I don't think it can actually return a point.Is there a different method that does return the hitpoint?