Add comment about that only obj with face normals work currentlY

This commit is contained in:
Jonathan Flueren 2022-08-06 15:36:34 +02:00
parent e0a2fa25fa
commit 491886b687

View file

@ -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();