commit
1705cf74d0
1 changed files with 2 additions and 2 deletions
|
@ -27,11 +27,11 @@ use num::{BaseNum, BaseFloat, one, zero};
|
|||
use vector::*;
|
||||
|
||||
/// A point in 2-dimensional space.
|
||||
#[derive(PartialEq, Copy, Clone, Hash, RustcEncodable, RustcDecodable)]
|
||||
#[derive(PartialEq, Eq, Copy, Clone, Hash, RustcEncodable, RustcDecodable)]
|
||||
pub struct Point2<S> { pub x: S, pub y: S }
|
||||
|
||||
/// A point in 3-dimensional space.
|
||||
#[derive(PartialEq, Copy, Clone, Hash, RustcEncodable, RustcDecodable)]
|
||||
#[derive(PartialEq, Eq, Copy, Clone, Hash, RustcEncodable, RustcDecodable)]
|
||||
pub struct Point3<S> { pub x: S, pub y: S, pub z: S }
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue