darts/triangle.h file

Class Triangle.

Classes

class Triangle
An instance of a triangle for a given face in a mesh.

Functions

auto single_triangle_intersect(const Ray3f& ray, const Vec3f& v0, const Vec3f& v1, const Vec3f& v2, const Vec3f* n0, const Vec3f* n1, const Vec3f* n2, const Vec2f* t0, const Vec2f* t1, const Vec2f* t2, HitInfo& isect, const Material* material = nullptr) -> bool
ray - single triangle intersection routine