From 491886b68795b4e3745170519d3d456c9d6b32f8 Mon Sep 17 00:00:00 2001 From: Jonathan Flueren Date: Sat, 6 Aug 2022 15:36:34 +0200 Subject: [PATCH] Add comment about that only obj with face normals work currentlY --- src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 9985e70..6ee3ca5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -245,7 +245,9 @@ fn main() { /* -* Generates world based on .obj mesh file passed by path +* Generates world based on .obj mesh file passed by path. +* +* Currently only works for .obj files which contain face normals. */ fn from_obj(path: &str) -> HittableList { let mut world = HittableList::new();