tyFlow Forum
c# extension methods for tyFlow class - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html)
+--- Thread: c# extension methods for tyFlow class (/thread-1680.html)



c# extension methods for tyFlow class - Geoff - 05-02-2020

Hey Tyson,

Even though we cannot add extension methods to the existing classes in tyflow (c# nested class problem..) do you know any workarround?
I'd like to get at least Point3, Matrix3 or Quat (float) values using indexes... ex: float value = Matrix3[1][1];


RE: c# extension methods for tyFlow class - tyFlow - 05-02-2020

Index access is something I've been meaning to add. I'll make a note of it.


RE: c# extension methods for tyFlow class - Geoff - 05-02-2020

sweet Smile thanks! I created my own matrix class in the meantime...


RE: c# extension methods for tyFlow class - tyFlow - 05-02-2020

Btw, I looked at my code and Point2/3/4 and Quat already have [ ] index access Smile

Matrix3 will be in the next build.


RE: c# extension methods for tyFlow class - Geoff - 05-02-2020

oh cool! I was focused on matrices, I didn't even notice Blush  thanks Tyson!