From 516ba1a03d491a5634933c16b8a418e4d5398a78 Mon Sep 17 00:00:00 2001 From: kvark Date: Fri, 25 Oct 2013 11:20:23 -0400 Subject: [PATCH] Point structures are made public --- src/cgmath/point.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cgmath/point.rs b/src/cgmath/point.rs index 91eb9dc..e611e00 100644 --- a/src/cgmath/point.rs +++ b/src/cgmath/point.rs @@ -24,11 +24,11 @@ use vector::*; /// A point in 2-dimensional space. #[deriving(Eq, Zero, Clone)] -struct Point2 { x: S, y: S } +pub struct Point2 { x: S, y: S } /// A point in 2-dimensional space. #[deriving(Eq, Zero, Clone)] -struct Point3 { x: S, y: S, z: S } +pub struct Point3 { x: S, y: S, z: S } approx_eq!(impl Point2) approx_eq!(impl Point3)