Add comment about that only obj with face normals work currentlY
This commit is contained in:
parent
e0a2fa25fa
commit
491886b687
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue