You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could be doing this wrong (I'm new to ffi programming) but when I try and call a function like update-camera or draw-triangle-fan with the appropriate struct (camera3d and vector2 respectfully) the function signals an error saying that the struct is not a pointer.
When trying various ways to get a pointer for the object I get errors as well.
Unsure if this is a bug, or my misunderstanding, but I figured an issue wouldn't hurt.
Thank you for your work!
The text was updated successfully, but these errors were encountered:
ok, I encounter the same problem with update-camera and still no way to use struct and pointer to struct at the same time.
Maybe implement update-camera in pure Lisp is a way?
I could be doing this wrong (I'm new to ffi programming) but when I try and call a function like
update-camera
ordraw-triangle-fan
with the appropriate struct (camera3d and vector2 respectfully) the function signals an error saying that the struct is not a pointer.When trying various ways to get a pointer for the object I get errors as well.
Unsure if this is a bug, or my misunderstanding, but I figured an issue wouldn't hurt.
Thank you for your work!
The text was updated successfully, but these errors were encountered: