Skip to content
Snippets Groups Projects
Commit 06812a1c authored by iggy's avatar iggy Committed by q3k
Browse files

sim: added missing fake stubs for ctx.arc and positional captouch (fake fakes for those)

parent 6cc8c588
No related branches found
No related tags found
No related merge requests found
......@@ -122,3 +122,7 @@ class Ctx:
def fill(self):
self._emit(f"fill")
return self
def arc(self, x, y , radius, arc_from, arc_to, direction):
self._emit(f"arc {x} {y} {radius} {arc_from} {arc_to} {direction}")
return self
\ No newline at end of file
......@@ -396,3 +396,10 @@ def get_captouch(a):
_sim.process_events()
_sim.render_gui_lazy()
return _sim.petals.state()[a]
#TODO(iggy/q3k do proper positional captouch)
def captouch_get_petal_rad(a):
return 0
def captouch_get_petal_phi(a):
return 0
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment