diff options
| author | Ian C <ianc@noddybox.co.uk> | 2005-10-03 22:22:33 +0000 |
|---|---|---|
| committer | Ian C <ianc@noddybox.co.uk> | 2005-10-03 22:22:33 +0000 |
| commit | 98cd911184f69d1f9e22eccdd2e5f7aff86bee2a (patch) | |
| tree | b4ee0ca3f5d5c3033e63ea790a5e0d7626fedd25 | |
| parent | 1371436e7dc0d5a685804b17ff600dc5fb9e3a2a (diff) | |
Added Clone()
| -rw-r--r-- | vector.mod/vector.bmx | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -50,6 +50,14 @@ Type TVector 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. EndRem |
