Closed mastercuber55 closed 1 year ago
Hi @mastercuber55
Sorry for a late response.
This is indeed a bug in the library. Properties were returned as a copy. However this was an easy fix that hopefully does not break any backwards compatibility.
This is now fixed in a commit https://github.com/matusnovak/wrenbind17/commit/3255318670ce1b3ccbb9581559713ce79bc4b9a9 which is in the master branch as of now. Please pull from the master. I have added your example as part of the test suite.
Please report back if this has solved your problem.
Hi matusnovak, I don't mind the late response and as for the bug fixing, you've done a amazing job its totally working.
Thank you very much.
I've a got a simple
Vector2
struct consisting ofx
andy
. I've binded it. Then I've got a more complex struct,Camera2D
I've also binded that too like
And I'm using it like this like following in wren side.
But no matter what I do,
offest
is always0
for bothx
andy
.