beevee: add library to workspace

This is designed to be the new BVH for the raytracer.
This commit is contained in:
Bruno BELANYI 2020-03-23 23:56:26 +01:00
parent 01d2c2d973
commit 9c56134c67
8 changed files with 56 additions and 0 deletions

View 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
View file

@ -0,0 +1,4 @@
//! The module relating to Axis-Aligned Bounding Boxes.
mod bounding_box;
pub use bounding_box::*;