agni 0.1.2

Agni is 3D pathtracing research library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
extern crate agni;

fn main() {
    #[cfg(feature = "cli")]
    {
        let config = agni::cli::parse_args()
            .expect("Could not parse arguments");
        println!("Options: {:?}", config);
        agni::core::api::initialize(config);
    }

    if !cfg!(feature="cli") {
        println!("Compile with the cli feature enabled to use the default command line parsing");
    }


}