From 7416e5ce14cece94d6fac8b07bbb6af7c639e2f3 Mon Sep 17 00:00:00 2001 From: Corey Richardson Date: Sun, 25 May 2014 03:17:57 -0700 Subject: [PATCH] Touch up Ray docs --- src/cgmath/line.rs | 2 +- src/cgmath/ray.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cgmath/line.rs b/src/cgmath/line.rs index 92c82a0..5359b42 100644 --- a/src/cgmath/line.rs +++ b/src/cgmath/line.rs @@ -22,7 +22,7 @@ use vector::{Vector, Vector2}; use partial_ord::PartOrdFloat; use intersect::Intersect; -/// A generic directed line segment +/// A generic directed line segment from `origin` to `dest`. #[deriving(Clone, Eq)] pub struct Line

{ diff --git a/src/cgmath/ray.rs b/src/cgmath/ray.rs index 3431ab4..69cb118 100644 --- a/src/cgmath/ray.rs +++ b/src/cgmath/ray.rs @@ -16,7 +16,8 @@ use point::{Point, Point2, Point3}; use vector::{Vector, Vector2, Vector3}; -/// A generic ray +/// A generic ray starting at `origin` and extending infinitely in +/// `direction`. #[deriving(Clone, Eq)] pub struct Ray {