Touch up Ray docs
This commit is contained in:
parent
9828870380
commit
7416e5ce14
2 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue