An instance of a triangle for a given face in a mesh.
- class Surface
- This is the abstract superclass for all surfaces.
Constructors, destructors, conversion operators
intersect(const Ray3f& ray,
HitInfo& hit) const override
Ray-Surface intersection test.
|ray in||A 3-dimensional ray data structure with minimum/maximum extent information|
|hit out||A detailed intersection record, which will be filled by the intersection query|
|Returns||True if an intersection was found|
Intersect a ray against this surface and return detailed intersection information.