fixing shading a bit

This commit is contained in:
Dynamitos
2025-01-26 21:49:53 +01:00
parent d8b80760ba
commit e24bcd508c
8 changed files with 28 additions and 38 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ struct Ray
struct HitInfo
{
float t;
float t = std::numeric_limits<float>::max();
glm::vec3 position;
glm::vec3 normal;
// not entirely sure what that does