diff --git a/debug/vecrender.ks b/debug/vecrender.ks index bcaf850..4b46ed8 100644 --- a/debug/vecrender.ks +++ b/debug/vecrender.ks @@ -1,5 +1,7 @@ @lazyglobal off. +parameter vec is false. + local draws is list(). function DrawVectorWithComponents { @@ -17,3 +19,7 @@ function DrawVectorWithComponents { set d to VecDraw(V(0,0,0), V(0,0,vec:Z), BLUE, "z", 1.0, true). list:add(d). } + +if vec <> false { + DrawVectorWithComponents(vec). +}