-
-
Notifications
You must be signed in to change notification settings - Fork 574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow constructing IVec2 in graph #1919
Comments
We should consider reusing the Vector2 node and letting the type system support casting from an IVec2 to a DVec2. |
I want to try doing this to get a better understanding of how graphene works, how do you suggest i go about it ? |
@TrueDoctor is this okay to work on right now or should it wait until your refactor in #1942 is done? |
Should be fine to do now, will probably become obsolete when we add automatic type conversions |
In that case, @aybdee, you can just reference any of the value nodes. But if you want to wait like a week, the process of creating nodes will become much easier with that refactor mentioned above. |
i think i'd wait then |
Sounds great. There are a lot of good options in |
The artboard node takes an IVec2 as the dimensions and position. Currently it is impossible to construct this in the graph.
A node taking in two f64s and constructing an IVec2 should be added.
The text was updated successfully, but these errors were encountered: