From 0d59f49ea706d28a7e048898bfb62c18863193c5 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 22 Mar 2020 01:51:15 +0100 Subject: [PATCH] library: document root module --- src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index b6cc387..d3e939a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,9 +1,14 @@ #![warn(missing_docs)] +//! A pathtracing crate + use bvh::nalgebra::{Point2, Point3, Vector3}; +/// A 2D point coordinate pub type Point2D = Point2; +/// A 3D point coordinate pub type Point = Point3; +/// A 3D vector pub type Vector = Vector3; pub mod core;