diff options
author | Julian T <julian@jtle.dk> | 2021-02-02 20:39:32 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-02-02 20:39:32 +0100 |
commit | 2b4adacea3c76b8b33dc5f50d296dd4a61107c16 (patch) | |
tree | 905b672e4005b29dad5807060ae3a966d4a3d264 /src/scene/shapes/sphere.rs | |
parent | d79d5d18c8281cce1e782892e5f85680906481dd (diff) |
Added documentation for many of the modules
Diffstat (limited to 'src/scene/shapes/sphere.rs')
-rw-r--r-- | src/scene/shapes/sphere.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scene/shapes/sphere.rs b/src/scene/shapes/sphere.rs index f8ae11e..e30c1ec 100644 --- a/src/scene/shapes/sphere.rs +++ b/src/scene/shapes/sphere.rs @@ -1,3 +1,6 @@ +//! Implements sphere +//! +//! Spheres are relatively easy to calculate intersections between use crate::Float; use crate::core::{Ray, Vector3f}; use super::Shape; |