aboutsummaryrefslogtreecommitdiffstats
path: root/examples/test.moon
diff options
context:
space:
mode:
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!