beevee: add library to workspace
This is designed to be the new BVH for the raytracer.
This commit is contained in:
parent
01d2c2d973
commit
9c56134c67
8 changed files with 56 additions and 0 deletions
5
beevee/src/aabb/bounding_box.rs
Normal file
5
beevee/src/aabb/bounding_box.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
//! An Axis-Alighned Bounding Box.
|
||||
|
||||
/// An axis-aligned bounding box.
|
||||
#[derive(Copy, Clone, Debug, PartialEq)]
|
||||
pub struct AABB {}
|
||||
4
beevee/src/aabb/mod.rs
Normal file
4
beevee/src/aabb/mod.rs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
//! The module relating to Axis-Aligned Bounding Boxes.
|
||||
|
||||
mod bounding_box;
|
||||
pub use bounding_box::*;
|
||||
Loading…
Add table
Add a link
Reference in a new issue