Replies: 2 comments 3 replies
-
Just to double check: does *pointer.0 = pointer.0 + mm.delta; compile? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Finally I figured it out, guy from Rust Gamedev Russia told me that I do extra dereferences so, just throwing out those asterisks fixed everything. Also noticed that Bevy is unable to start the app if there is no audio available (panic message from rodio) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a
to store the position of the pointer.
and I want it to be up to date so I try to:
but the catch is that it does not compile!
the error says:
what XY<f32> and why it does not support addition? what is even going on here? I tried to dig into some glam source code, but there was like 0 documentation on Vec2 and also whole bunch of scary macros.
how to figure it out? I am expecting other newcomers will encounter the same problem.
Beta Was this translation helpful? Give feedback.
All reactions