wip: parallelization
This commit is contained in:
@@ -7,10 +7,7 @@ pub struct Ray {
|
||||
|
||||
impl Ray {
|
||||
pub fn new(origin: Vec3, dir: Vec3) -> Self {
|
||||
Self {
|
||||
origin,
|
||||
dir,
|
||||
}
|
||||
Self { origin, dir }
|
||||
}
|
||||
|
||||
pub fn at(&self, t: f32) -> Vec3 {
|
||||
|
||||
Reference in New Issue
Block a user