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)