From 7fd9f582b6f416ebe3dfa47984629c27ff6775ed Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Mon, 14 Oct 2013 22:48:45 +1100 Subject: [PATCH] Make point structs 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)