Touch up Ray docs

This commit is contained in:
Corey Richardson 2014-05-25 03:17:57 -07:00
parent 9828870380
commit 7416e5ce14
2 changed files with 3 additions and 2 deletions

View file

@ -22,7 +22,7 @@ use vector::{Vector, Vector2};
use partial_ord::PartOrdFloat; use partial_ord::PartOrdFloat;
use intersect::Intersect; use intersect::Intersect;
/// A generic directed line segment /// A generic directed line segment from `origin` to `dest`.
#[deriving(Clone, Eq)] #[deriving(Clone, Eq)]
pub struct Line<P> pub struct Line<P>
{ {

View file

@ -16,7 +16,8 @@
use point::{Point, Point2, Point3}; use point::{Point, Point2, Point3};
use vector::{Vector, Vector2, Vector3}; use vector::{Vector, Vector2, Vector3};
/// A generic ray /// A generic ray starting at `origin` and extending infinitely in
/// `direction`.
#[deriving(Clone, Eq)] #[deriving(Clone, Eq)]
pub struct Ray<P,V> pub struct Ray<P,V>
{ {