about summary refs log tree commit diff stats
path: root/geom.lua
diff options
context:
space:
mode:
Diffstat (limited to 'geom.lua')
-rw-r--r--geom.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/geom.lua b/geom.lua
index 6baee93..ef3cbcf 100644
--- a/geom.lua
+++ b/geom.lua
@@ -1,15 +1,5 @@
 local geom = {}
 
-function geom.on_any_shape(x,y, drawing)
-  for _,shape in ipairs(drawing.shapes) do
-    assert(shape)
-    if geom.on_shape(x,y, drawing, shape) then
-      return true
-    end
-  end
-  return false
-end
-
 function geom.on_shape(x,y, drawing, shape)
   if shape.mode == 'freehand' then
     return geom.on_freehand(x,y, drawing, shape)