From 98cd911184f69d1f9e22eccdd2e5f7aff86bee2a Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 3 Oct 2005 22:22:33 +0000 Subject: Added Clone() --- vector.mod/vector.bmx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vector.mod') diff --git a/vector.mod/vector.bmx b/vector.mod/vector.bmx index 485fff1..d0b1a07 100644 --- a/vector.mod/vector.bmx +++ b/vector.mod/vector.bmx @@ -49,6 +49,14 @@ Type TVector Return o End Function + Rem + bbdoc: Clone this vector to a new object. + returns: The created vector. + EndRem + Method Clone:TVector() + Return Create(x,y,z) + End Method + Rem bbdoc: Is the vector null. returns: True if the vector is null (all components zero), False otherwise. -- cgit v1.2.3