#ifndef DEBUG_H #define DEBUG_H #include "Rendering/Scene.h" #include "Algorithm/RayIntersection.h" typedef enum { DEBUG_NONE = 0, DEBUG_BVH = 1, DEBUG_SOBOL = 2, DEBUG_UV = 3, } debug_mode_t; static const vec4s DEBUG_COLOR_BVH = {0.0f, 1.0f, 0.0f, 0.005f}; // Green vec4s render_debug(scene_t* scene, ray_t ray, uint16_t sample_index, int flag); #endif // DEBUG_H