rtiow: stub triangles shape created from STLs.

This commit is contained in:
2023-01-15 11:55:11 -08:00
parent 54e72cd81d
commit 39eeb79409
5 changed files with 172 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ use std::fmt;
use crate::{ray::Ray, vec3::Vec3};
#[derive(Debug, Clone, PartialEq)]
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct AABB {
bounds: [Vec3; 2],
}