Replies: 1 comment
-
@wp.struct
class MyStruct:
v: wp.float32
@wp.func
def f(self):
return self.v The key is to allow functions to use self. Is this feature on the roadmap? |
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.
-
I want to implement some libraries myself, such as one for quaternions, and add member functions like 'inverse' to the quaternion.
Beta Was this translation helpful? Give feedback.
All reactions