From 20a1596cf26d4d6b284cbee6a4272b05a8ec516d Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Mon, 5 Nov 2012 13:25:11 +1000 Subject: [PATCH] Add commented out constuctors --- src/vector.rs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/vector.rs b/src/vector.rs index 0d6c3c8..2effbec 100644 --- a/src/vector.rs +++ b/src/vector.rs @@ -61,13 +61,22 @@ pub trait BooleanVector { } pub trait Vector2 { - + // pub static pure fn new(x: T, y: T) -> self; + // pub static pure fn from_value(value: T) -> self; } pub trait Vector3 { + // pub static pure fn new(x: T, y: T, z: T) -> self; + // pub static pure fn from_value(value: T) -> self; + fn cross(other: &self) -> self; } +pub trait Vector4 { + // pub static pure fn new(x: T, y: T, z: T, w: T) -> self; + // pub static pure fn from_value(value: T) -> self; +} +