Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeodrippe committed Jan 13, 2025
1 parent 5803e72 commit 933c03b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions test/vybe/flecs_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
(reset! @t-global (vr.c/matrix-multiply local (nth transform-parent 0)))
(reset! @t-global local))))))

(vc/defn* default-systems :- :void
(vc/defn* ^:debug default-systems :- :void
[w :- :*]
(let [e (vf.c/ecs-entity-init w (vp/& (vf/entity_desc_t
{:name "vybe_transform"
Expand All @@ -150,7 +150,8 @@
:inout (flecs/EcsOut)}
{:first {:name (name vt/Transform)}
:second {:name "global"}
:src {:id (bit-or (flecs/EcsCascade) (flecs/EcsUp))}
:src {:id (-> (bit-or (flecs/EcsCascade) (flecs/EcsUp))
(vp/as :long-long))}
:inout (flecs/EcsIn)
:oper (flecs/EcsOptional)}]}})))))

Expand Down
2 changes: 1 addition & 1 deletion todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@
- [x] direct translation
- [x] compile
- [x] fix "mismatch between term.id and term.first" error
- [ ] fix windows test
- [ ] with-system working in VybeC
- [ ] set components automatically
- [ ] fix string tap
Expand All @@ -262,7 +263,6 @@
- [ ] make recompilation work with an indirection
- [ ] read from source if some function has a inline (or not) metadata telling
us the fn spec
- [ ] fix windows test
- [ ] upgrade Flecs
- [ ] eval
- [ ] form to quickly evaluate stuff
Expand Down

0 comments on commit 933c03b

Please sign in to comment.