ft: added dotenv for .env file

This commit is contained in:
djaidjai committed 2026-04-20 12:46:03 +02:00
1 parent 1920376e34
commit 66c6bf438b
5 files changed
+12

No files matched your search

+2
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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.