ft: added dotenv for .env file

This commit is contained in:
2026-04-20 12:46:03 +02:00
parent 1920376e34
commit 66c6bf438b
5 changed files with 12 additions and 0 deletions

View File

@@ -13,9 +13,11 @@ use crate::objects::materials::lambertian::{Lambertian, Metal};
use crate::objects::sphere::Sphere;
use crate::ray::Ray;
use crate::vec3::Vec3;
use dotenv::dotenv;
use pretty_env_logger;
fn main() {
dotenv().ok();
pretty_env_logger::init();
// setup objects