Getting Int2 to work with Math nodes

Hey,

Not sure how to frame that exactly but it would be nice to be able to use the / (Scale) node on an Int2 input :-)

Right now one has to go through cumbersome conversions or workarounds to get those working.

Cheers!

3 Likes

I think we only have what’s in here:

https://github.com/stride3d/stride/blob/master/sources/core/Stride.Core.Mathematics/Int2.cs/

It would be nice to add some more and make a PR.

2 Likes

Would be great to rename current * to *(Scale) and add a proper *. There should be just one as well, there is no point in having both:

1 Like