aboutsummaryrefslogtreecommitdiffstats
path: root/examples/test.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2019-11-03 16:23:43 +0000
committers-ol <s-ol@users.noreply.github.com>2019-11-03 16:23:43 +0000
commit157f6c0fdb37e8490c293a44d9ed08cd3dc63291 (patch)
tree4cfbb2899e615c90f033a31aa4019513047d805e /examples/test.moon
parentadd profiling support (diff)
downloadwatch-cad-157f6c0fdb37e8490c293a44d9ed08cd3dc63291.tar.gz
watch-cad-157f6c0fdb37e8490c293a44d9ed08cd3dc63291.zip
update examples, fixes
Diffstat (limited to 'examples/test.moon')
-rw-r--r--examples/test.moon8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/test.moon b/examples/test.moon
new file mode 100644
index 0000000..352ebd2
--- /dev/null
+++ b/examples/test.moon
@@ -0,0 +1,8 @@
+import vec2 from require 'cpml'
+
+=>
+ input.point @p
+
+ input.rectangle @re, max: @p!
+
+ input.circle @circ, center: @p!