Files
SimpleRayTracing/header/Algorithm/PathTracing.h
2025-04-15 11:29:46 +09:00

12 lines
337 B
C

#ifndef PATH_TRACING_H
#define PATH_TRACING_H
#include "Common.h"
#include "Material.h"
#include "Triangle.h"
static hit_result_t ray_intersect(const triangle_t triangle, const ray_t ray);
vec3s path_trace(const triangle_collection_t* triangles, const material_collection_t* materials, ray_t ray, int depth);
#endif // PATH_TRACING_H