summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vector.mod/vector.bmx8
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