Commit Graph

15 Commits

Author SHA1 Message Date
7b7a913c46 Simplify the immediate mode functions and move node
connection logic to the application level
2024-02-25 20:31:11 +00:00
4610561eff Remove code for connecting noodles 2024-02-25 13:14:14 +00:00
8501eb787e Support connecting noodle to another node and ensure it
stays connected when parent node moves
2024-02-25 12:33:13 +00:00
050bb355d0 Reset noodle to default position if not connected to another node 2024-02-25 00:46:02 +00:00
2d31233a1e Add functionality to draw nodes with user-defined inputs count 2024-02-24 23:53:04 +00:00
84cdb87a19 Update code to use stdlib 2024-02-24 20:45:09 +00:00
10ba3d642d Support drawing a node with connection that can be modified by user 2024-02-20 00:18:53 +00:00
d73275f04c Add line_from_origin function 2024-01-24 23:43:14 +00:00
8275fce9c6 Update noodle drawing code 2024-01-24 22:44:36 +00:00
afd09d7742 Remove unused include 2024-01-21 22:37:47 +00:00
924ed544aa Improve implementation of drawing the noodles 2024-01-21 22:37:09 +00:00
53d0a4698f Fix moving behaviour 2024-01-21 19:39:25 +00:00
64f0328966 Rename data types and start implementing drawing quads in ui 2024-01-21 03:38:48 +00:00
63f119c1b2 Refactor UI code into an immediate mode style (#1)
Co-authored-by: Abdelrahman <said.abdelrahman89@gmail.com>
Reviewed-on: #1
2024-01-20 22:22:17 +00:00
c831fd23f7 Extract collision detection into a ui module 2024-01-15 22:35:31 +00:00