hunterloftis / pbr

a Physically Based Renderer (PBR) in Go
MIT License
1.15k stars 42 forks source link

restore -profile option #39

Closed dormando closed 6 years ago

dormando commented 6 years ago

The Profile option is still in the code but got dropped during the pbr2 refactor (along with a few other options, it looks).

This simply restores the code and chucks it on top of main.run, since it's nice to get a full view of the program.

Didn't see any other file or pkg worth putting the stubs into, but if you want it elsewhere I can fix.

thanks!